mirror of https://github.com/mpv-player/mpv
Cosmetics: remove some commented code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26753 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
27cdeb019d
commit
9440d4aaed
|
@ -3482,11 +3482,6 @@ if (mpctx->global_sub_size) {
|
|||
dvdsub_id = demuxer_default_sub_track(mpctx->demuxer);
|
||||
if (dvdsub_id >= 0)
|
||||
mpctx->global_sub_pos = mpctx->global_sub_indices[SUB_SOURCE_DEMUX] + dvdsub_id;
|
||||
/*
|
||||
} else if (mpctx->global_sub_indices[SUB_SOURCE_DEMUX] >= 0) {
|
||||
// if nothing else works, get subs from the demuxer.
|
||||
mpctx->global_sub_pos = mpctx->global_sub_indices[SUB_SOURCE_DEMUX];
|
||||
*/
|
||||
}
|
||||
// rather than duplicate code, use the SUB_SELECT handler to init the right one.
|
||||
mpctx->global_sub_pos--;
|
||||
|
|
Loading…
Reference in New Issue