diff options
author | wm4 <wm4@nowhere> | 2014-07-06 19:02:49 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-06 19:02:49 +0200 |
commit | e3a3b764c8a98fbdca2e0e3677fdcf233169d666 (patch) | |
tree | 0ce961b415e5c6282f4b3c7edf7e1b2e35dd2879 /demux/demux.c | |
parent | 1d55547adf37f94be3bec973b59067c474e9d439 (diff) | |
download | mpv-e3a3b764c8a98fbdca2e0e3677fdcf233169d666.tar.bz2 mpv-e3a3b764c8a98fbdca2e0e3677fdcf233169d666.tar.xz |
dvd: fix first subtitle with delayed subtitle streams
This was accidentally broken with moving the DVD code to demux_disc.c.
Also remove an abort() call meant for debugging.
Diffstat (limited to 'demux/demux.c')
-rw-r--r-- | demux/demux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux.c b/demux/demux.c index 3e08a7828b..047e77a486 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -127,6 +127,7 @@ struct sh_stream *new_sh_stream(demuxer_t *demuxer, enum stream_type type) .ds = talloc_zero(sh, struct demux_stream), }; sh->ds->demuxer = demuxer; + sh->ds->selected = demuxer->stream_select_default; MP_TARRAY_APPEND(demuxer, demuxer->streams, demuxer->num_streams, sh); switch (sh->type) { case STREAM_VIDEO: sh->video = talloc_zero(demuxer, struct sh_video); break; |