Re: [FFmpeg-devel] [PATCH] lavc: propagate hwaccel errors

2015-08-06 Thread wm4
On Wed, 5 Aug 2015 17:49:01 -0700 Philip Langdale wrote: > On Wed, 5 Aug 2015 21:59:19 +0200 > wm4 wrote: > > > At least the new videotoolbox decoder does not actually set a frame if > > end_frame fails. This causes the API to return success and signals > > that a picture was decoded, even tho

Re: [FFmpeg-devel] [PATCH] lavc: propagate hwaccel errors

2015-08-05 Thread Philip Langdale
On Wed, 5 Aug 2015 21:59:19 +0200 wm4 wrote: > At least the new videotoolbox decoder does not actually set a frame if > end_frame fails. This causes the API to return success and signals > that a picture was decoded, even though AVFrame->data[0] is NULL. > > Fix this by propagating end_frame er