[MPlayer-dev-eng] [PATCH] vf_ffmpeg, threads and slice callback
Adrian Stutz
adrian at sttz.ch
Tue Jul 13 23:24:14 CEST 2010
Hello,
This patch originates from this discussion on mplayer-users:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2009-December/078410.html
http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-January/078845.html
Basically, using a ffmpeg decoder that supports slices with multiple
threads leads to serious video corruption (e.g. when playing DVDs).
I can reproduce the issue with this command line (see the above thread
for more info):
mplayer -lavdopts threads=4 dvd:////path/to/VIDEO_TS
I cherry picked this patch from the fix Utoi applied to his unofficial
git branch.
There's also a much less educated patch from me in this post:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-January/078851.html
Is this ok to apply?
Greetings,
Adrian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vd_ffmpeg_slices_and_threads.diff
Type: application/octet-stream
Size: 622 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100713/da895028/attachment.obj>
More information about the MPlayer-dev-eng
mailing list