[MPlayer-dev-eng] [PATCH]Do not try to decode IMGFMT_VDPAU_WMV3 on incapable hardware

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Feb 24 21:22:08 CET 2009


On Tue, Feb 24, 2009 at 08:09:14PM +0000, Carl Eugen Hoyos wrote:
> Reimar Döffinger <Reimar.Doeffinger <at> stud.uni-karlsruhe.de> writes:
> > On Tue, Feb 24, 2009 at 08:48:01PM +0100, Carl Eugen Hoyos wrote:
> > > Attached patch lets vo_vdpau.config() fail if the user tries to decode VC1 
> > > or WMV3 video on hardware that does not support that.
> > 
> > That patch was optimized very well :-P
> 
> There is always a first time;-)
> It follows inlined; do you want to test all formats (not only VC1 and WMV3)?
> I don't believe there will ever be hardware (or drivers) that support finding
> function pointers but not decoding MPEG1/2 or H264.

Of course the check should be in query_format in order to allow fallback
to software decoding (as soon as software and hardware decoders get
merged in FFmpeg).



More information about the MPlayer-dev-eng mailing list