Mercurial > mplayer.hg
view .gitignore @ 36441:b75ebb89d803
Workaround VDPAU decode errors on aspect change on NVidia.
The NVidia driver seems to expect a decoder reinit on aspect
change, otherwise giving a nonsense VDP_STATUS_INVALID_SIZE
error.
Since decode and display can run out of sync, we do not in fact
know when an aspect change will happen during decode but only when
we want to display that decoded frame, and with threaded decoding
these will differ significantly.
So just catch the error and retry decoding instead, this also has
the advantage of not affecting (and possibly costing performance)
drivers without this issue.
author | reimar |
---|---|
date | Sun, 08 Dec 2013 15:07:00 +0000 |
parents | ec0cc8013b3a |
children |
line wrap: on
line source
*.[od] *.exe *.ho codec-cfg codec-cfg-test codecs2html codecs.conf.h config.* cpuinfo ffmpeg gmplayer help_mp.h mencoder mplayer tags TAGS version.h debian/changelog debian/files debian/mplayer-dbg/ debian/mplayer-doc/ debian/mplayer-gui/ debian/*.debhelper debian/*.debhelper.log debian/*.substvars DOCS/codecs-status.html DOCS/HTML/ DOCS/HTML-single/ DOCS/tech/doxygen DOCS/xml/html-chunk.xsl DOCS/xml/html-single.xsl DOCS/xml/xml.mak DOCS/xml/*/main.xml drivers/mga_vid_test drivers/tdfx_vid_test ffmpeg/ libdvdnav/ libdvdread4/ libvo/aspecttest loader/qtx/list loader/qtx/qtxload TOOLS/alaw-gen TOOLS/alaw.dat TOOLS/alaw.out TOOLS/asfinfo TOOLS/avi-fix TOOLS/avisubdump TOOLS/bmovl-test TOOLS/compare TOOLS/cpuinfo TOOLS/dump_mp4 TOOLS/fastmemcpybench TOOLS/modify_reg TOOLS/movinfo TOOLS/netstream TOOLS/subrip TOOLS/vivodump vidix/pci_*.[ch] vidix/dhahelperwin/dhahelper.sys