mirror of https://github.com/mpv-player/mpv
Do not automatically select a subtitle stream for display.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10801 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c879e5f8b1
commit
676d664756
|
@ -779,7 +779,6 @@ int demux_ogg_open(demuxer_t* demuxer) {
|
|||
/// Check for text (subtitles) header
|
||||
} else if (strncmp(st->streamtype, "text", 4) == 0) {
|
||||
mp_msg(MSGT_DEMUX, MSGL_V, "OGG stream %d is text\n", ogg_d->num_sub);
|
||||
if(demuxer->sub->id==-1) demuxer->sub->id = ogg_d->num_sub;
|
||||
ogg_d->subs[ogg_d->num_sub].samplerate= get_uint64(&st->time_unit)/10;
|
||||
n_text++;
|
||||
demux_ogg_init_sub();
|
||||
|
|
Loading…
Reference in New Issue