mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 03:28:27 +00:00
lavfi/yadif: add timeline support.
This commit is contained in:
parent
b1bbd715d8
commit
b8a9876a8b
@ -31,7 +31,7 @@
|
||||
|
||||
#define LIBAVFILTER_VERSION_MAJOR 3
|
||||
#define LIBAVFILTER_VERSION_MINOR 68
|
||||
#define LIBAVFILTER_VERSION_MICRO 101
|
||||
#define LIBAVFILTER_VERSION_MICRO 102
|
||||
|
||||
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
|
||||
LIBAVFILTER_VERSION_MINOR, \
|
||||
|
@ -280,7 +280,7 @@ static int filter_frame(AVFilterLink *link, AVFrame *frame)
|
||||
if (!yadif->cur)
|
||||
return 0;
|
||||
|
||||
if (yadif->deint && !yadif->cur->interlaced_frame) {
|
||||
if ((yadif->deint && !yadif->cur->interlaced_frame) || ctx->is_disabled) {
|
||||
yadif->out = av_frame_clone(yadif->cur);
|
||||
if (!yadif->out)
|
||||
return AVERROR(ENOMEM);
|
||||
@ -484,4 +484,5 @@ AVFilter avfilter_vf_yadif = {
|
||||
|
||||
.inputs = avfilter_vf_yadif_inputs,
|
||||
.outputs = avfilter_vf_yadif_outputs,
|
||||
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user