[MPlayer-dev-eng] [PATCH] find_sub bugfix when sub switched

Ulion ulion2002 at gmail.com
Thu Oct 11 16:08:38 CEST 2007


Hello,

I found a bug of find_sub, it has two static variables
nosub_range_start and nosub_range_end. These two variables did not be
reset when sub stream switched, here's the fix patch and test case
(two srt, the first sub stream will invisible until the first sub time
of second sub stream after switched to the second substream and
switched back.)


-- 
Ulion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: find_sub_fix.diff
Type: application/octet-stream
Size: 638 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071011/60856da7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Heroes.S02E03.720p.HDTV.x264-CTU.en.srt
Type: application/octet-stream
Size: 44280 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071011/60856da7/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Heroes.S02E03.720p.HDTV.x264-CTU.fr1000.eng.srt
Type: application/octet-stream
Size: 34802 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071011/60856da7/attachment-0002.obj>


More information about the MPlayer-dev-eng mailing list