From: Good Guy Date: Wed, 27 Sep 2017 01:51:41 +0000 (-0600) Subject: add default:all target to plugin Makefile, fix ffmpeg load_filter buffer refs X-Git-Url: https://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=85234fcbe5f3411fbff770d91472e13e0800a378;p=goodguy%2Fhistory.git add default:all target to plugin Makefile, fix ffmpeg load_filter buffer refs --- diff --git a/cinelerra-5.1/cinelerra/ffmpeg.C b/cinelerra-5.1/cinelerra/ffmpeg.C index 511d37dd..e031dcdb 100644 --- a/cinelerra-5.1/cinelerra/ffmpeg.C +++ b/cinelerra-5.1/cinelerra/ffmpeg.C @@ -396,9 +396,7 @@ int FFStream::decode(AVFrame *frame) int FFStream::load_filter(AVFrame *frame) { - av_frame_unref(frame); - int ret = av_buffersrc_add_frame_flags(buffersrc_ctx, - frame, AV_BUFFERSRC_FLAG_KEEP_REF); + int ret = av_buffersrc_add_frame_flags(buffersrc_ctx, frame, 0); if( ret < 0 ) eprintf(_("av_buffersrc_add_frame_flags failed\n")); return ret; diff --git a/cinelerra-5.1/plugins/Makefile b/cinelerra-5.1/plugins/Makefile index 90e49750..745f8808 100644 --- a/cinelerra-5.1/plugins/Makefile +++ b/cinelerra-5.1/plugins/Makefile @@ -1,5 +1,6 @@ export TOPDIR ?= $(CURDIR)/.. include $(TOPDIR)/global_config +default: all ifeq ($(WANT_DVB), yes) LIVEDVB = liveaudio livevideo