diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-05-01 00:17:15 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-05-01 01:04:46 +0400 |
commit | 837d034787f986ee54e492ef90e78667fe86b4a5 (patch) | |
tree | 8170658adac507fd689933a0d12aa52e99c94209 /libavfilter/vf_tinterlace.c | |
parent | 820c023142aa258b4d4a330e9ac2a568a07d491f (diff) |
lavfi/tinterlace: make video as interlaced in mode 6
This is useful for marking progressive video processed by the filter as
interlaced, avoiding the interlaced flag to switch back and forth at each
frame.
Diffstat (limited to 'libavfilter/vf_tinterlace.c')
-rw-r--r-- | libavfilter/vf_tinterlace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index 683aa0c551..a07c974223 100644 --- a/libavfilter/vf_tinterlace.c +++ b/libavfilter/vf_tinterlace.c @@ -256,6 +256,7 @@ static void end_frame(AVFilterLink *inlink) case 6: /* re-interlace preserving image height, double frame rate */ /* output current frame first */ out = avfilter_ref_buffer(cur, AV_PERM_READ); + out->video->interlaced = 1; avfilter_start_frame(outlink, out); avfilter_draw_slice(outlink, 0, outlink->h, 1); |