1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

vf_tinterlace: leave harmless permissions alone.

This commit is contained in:
Nicolas George 2012-08-14 18:50:23 +02:00
parent d37f823207
commit 71adb74059

View File

@ -294,7 +294,7 @@ static int end_frame(AVFilterLink *inlink)
break; break;
case MODE_INTERLACEX2: /* re-interlace preserving image height, double frame rate */ case MODE_INTERLACEX2: /* re-interlace preserving image height, double frame rate */
/* output current frame first */ /* output current frame first */
out = avfilter_ref_buffer(cur, AV_PERM_READ); out = avfilter_ref_buffer(cur, ~AV_PERM_WRITE);
out->video->interlaced = 1; out->video->interlaced = 1;
ff_start_frame(outlink, out); ff_start_frame(outlink, out);