mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_extractplanes: use ff_outlink_get_status()
This commit is contained in:
parent
1052578dad
commit
639694eaa5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue