add default:all target to plugin Makefile, fix ffmpeg load_filter buffer refs
authorGood Guy <good1.2guy@gmail.com>
Wed, 27 Sep 2017 01:51:41 +0000 (19:51 -0600)
committerGood Guy <good1.2guy@gmail.com>
Wed, 27 Sep 2017 01:51:41 +0000 (19:51 -0600)
cinelerra-5.1/cinelerra/ffmpeg.C
cinelerra-5.1/plugins/Makefile

index 511d37dd58944ea94f5f001c84639fb88083216a..e031dcdbac7f19e184954f828683cb3eaf386a2a 100644 (file)
@@ -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;
index 90e49750feac14a1355efced8ba0eaef4686d2d7..745f88083c25bf71430d1ab062a0c97166325584 100644 (file)
@@ -1,5 +1,6 @@
 export TOPDIR ?= $(CURDIR)/..
 include $(TOPDIR)/global_config
+default: all
 
 ifeq ($(WANT_DVB), yes)
 LIVEDVB = liveaudio livevideo