[FFmpeg-cvslog] avfilter/vf_extractplanes: use ff_outlink_get_status()
Paul B Mahol
git at videolan.org
Sat Nov 3 19:25:25 EET 2018
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Nov 3 18:01:53 2018 +0100| [639694eaa554d2e174d87222f81740e37c2288ac] | committer: Paul B Mahol
avfilter/vf_extractplanes: use ff_outlink_get_status()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=639694eaa554d2e174d87222f81740e37c2288ac
---
libavfilter/vf_extractplanes.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavfilter/vf_extractplanes.c b/libavfilter/vf_extractplanes.c
index c1c8e694ca..f9171572ed 100644
--- a/libavfilter/vf_extractplanes.c
+++ b/libavfilter/vf_extractplanes.c
@@ -23,11 +23,9 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
-#define FF_INTERNAL_FIELDS 1
-#include "libavfilter/framequeue.h"
-
#include "avfilter.h"
#include "drawutils.h"
+#include "filters.h"
#include "internal.h"
#define PLANE_R 0x01
@@ -282,7 +280,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
const int idx = s->map[i];
AVFrame *out;
- if (outlink->status_in)
+ if (ff_outlink_get_status(outlink))
continue;
out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
More information about the ffmpeg-cvslog
mailing list