From 85234fcbe5f3411fbff770d91472e13e0800a378 Mon Sep 17 00:00:00 2001 From: Good Guy Date: Tue, 26 Sep 2017 19:51:41 -0600 Subject: [PATCH] add default:all target to plugin Makefile, fix ffmpeg load_filter buffer refs --- cinelerra-5.1/cinelerra/ffmpeg.C | 4 +--- cinelerra-5.1/plugins/Makefile | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) 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 -- 2.26.2