[MPlayer-dev-eng] vdpau codec priority?
Uoti Urpala
uoti.urpala at pp1.inet.fi
Wed Sep 2 13:05:26 CEST 2009
On Wed, 2009-09-02 at 12:46 +0200, Reimar Döffinger wrote:
> On Wed, Sep 02, 2009 at 10:05:56AM +0000, Carl Eugen Hoyos wrote:
> > Reimar, are there any possibilities of solving this? Even a hack that tests for
> > vc==*vdpau if video initialisation fails and tries another vc would be worth it,
> > imo.
>
> A proper solution is possible and was suggested, it depends on FFmpeg
> finally merging the vdpau and normal codecs and just select between them
> via the chosen colorspace.
> Unfortunately it seems everyone lost interest in cleaning up that
> particular mess on the FFmpeg side.
Selecting via colorspace wouldn't help with the particular problem Carl
was talking about (VDP decoder creation failing because another process
on the machine is using it). The colorspace would have already been
negotiated by the time MPlayer notices that it can't actually create a
decoder for that colorspace. So you'd still have the same situation
where decoder creation fails and things have to be retried starting from
an earlier point. To avoid that you'd need something like reserving
resources at query_format stage.
More information about the MPlayer-dev-eng
mailing list