Mercurial > mplayer.hg
diff libmpdemux/demux_smjpeg.c @ 36800:f3c835ddce85
demuxers: ensure that stream ids are correctly initialized.
This should fix missing video after r36778 and potentially
other issues in relation with video stream switching.
author | reimar |
---|---|
date | Wed, 19 Feb 2014 23:01:15 +0000 |
parents | c08363dc5320 |
children | 92dd1764392a |
line wrap: on
line diff
--- a/libmpdemux/demux_smjpeg.c Wed Feb 19 23:01:13 2014 +0000 +++ b/libmpdemux/demux_smjpeg.c Wed Feb 19 23:01:15 2014 +0000 @@ -126,6 +126,7 @@ { case mmioFOURCC('_','V','I','D'): sh_video = new_sh_video(demuxer, 0); + demuxer->video->id = 0; demuxer->video->sh = sh_video; sh_video->ds = demuxer->video;