Skip to content
Snippets Groups Projects
Commit f986c8e2 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Another AVhwaccel hunk from Gwenole Beauchesne.

Originally committed as revision 17565 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 09a9b45e
No related branches found
No related tags found
No related merge requests found
...@@ -687,6 +687,11 @@ retry: ...@@ -687,6 +687,11 @@ retry:
intrax8_decoded: intrax8_decoded:
ff_er_frame_end(s); ff_er_frame_end(s);
if (avctx->hwaccel) {
if (avctx->hwaccel->end_frame(avctx) < 0)
return -1;
}
MPV_frame_end(s); MPV_frame_end(s);
assert(s->current_picture.pict_type == s->current_picture_ptr->pict_type); assert(s->current_picture.pict_type == s->current_picture_ptr->pict_type);
......
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