Commit 05854f55 authored by Clément Bœsch's avatar Clément Bœsch

lavfi/movie: raise filter_frame() error.

parent bdbdadba
......@@ -549,9 +549,11 @@ static int movie_push_frame(AVFilterContext *ctx, unsigned out_id)
describe_frameref(movie->frame, outlink));
movie->frame->pts = av_frame_get_best_effort_timestamp(movie->frame);
ff_filter_frame(outlink, movie->frame); // FIXME: raise error properly
ret = ff_filter_frame(outlink, movie->frame);
movie->frame = NULL;
if (ret < 0)
return ret;
return pkt_out_id == out_id;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment