Skip to content
Snippets Groups Projects
Commit 71adb740 authored by Nicolas George's avatar Nicolas George
Browse files

vf_tinterlace: leave harmless permissions alone.

parent d37f8232
No related branches found
No related tags found
No related merge requests found
...@@ -294,7 +294,7 @@ static int end_frame(AVFilterLink *inlink) ...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment