Mercurial > mplayer.hg
diff libmpdemux/demux_rtp_codec.cpp @ 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 | 8517826b0dbd |
| children | 92dd1764392a |
line wrap: on
line diff
--- a/libmpdemux/demux_rtp_codec.cpp Wed Feb 19 23:01:13 2014 +0000 +++ b/libmpdemux/demux_rtp_codec.cpp Wed Feb 19 23:01:15 2014 +0000 @@ -114,6 +114,7 @@ sh_video->bih = bih; demux_stream_t* d_video = demuxer->video; d_video->sh = sh_video; sh_video->ds = d_video; + d_video->id = 0; // Map known video MIME types to the BITMAPINFOHEADER parameters // that this program uses. (Note that not all types need all
