mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
sub at key=0 fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1204 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9d4b0c7d14
commit
51c4e5b99d
@ -22,6 +22,11 @@ void find_sub(subtitle* subtitles,int key){
|
||||
if(key>nosub_range_start && key<nosub_range_end) return; // OK!
|
||||
}
|
||||
// sub changed!
|
||||
|
||||
if(key<=0){
|
||||
vo_sub=NULL; // no sub here
|
||||
return;
|
||||
}
|
||||
|
||||
// printf("\r---- sub changed ----\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user