[FFmpeg-devel] [PATCH]Move ff_find_hwaccel() call in h264.c

Reimar Döffinger Reimar.Doeffinger
Tue Nov 24 16:19:12 CET 2009


On Tue, Nov 24, 2009 at 03:22:54PM +0100, Michael Niedermayer wrote:
> On Mon, Nov 23, 2009 at 11:48:30PM +0100, Carl Eugen Hoyos wrote:
> > On Sunday 22 November 2009 01:58:59 Carl Eugen Hoyos wrote:
> > 
> > > Attached patch that Reimar sent me today fixes a problem MPlayer has with
> > > some h264 samples when using VDPAU. It moves the call to ff_find_hwaccel()
> > > after setting some variables that are needed for the call.
> > > Tested with a few samples.
> > 
> > Updated patch attached.
> > 
> > Please comment, Carl Eugen
> 
> >  h264.c |   31 ++++++++++++++++---------------
> >  1 file changed, 16 insertions(+), 15 deletions(-)
> > f93f57dc66535462753b76ea043527ae9bfb68f9  patchh264findhwaccel
> 
> ok if tested, preferably with resolution changes

I think he already did quite few tests on my behalf, because I still
don't fully understand how the hwaccel stuff gets correctly reinitialized
on resolution change, but at least it seems to work anyway.



More information about the ffmpeg-devel mailing list