[MPlayer-cvslog] r25041 - trunk/libmpdemux/demux_nemesi.c
lu_zero
subversion at mplayerhq.hu
Wed Nov 14 00:02:49 CET 2007
Author: lu_zero
Date: Wed Nov 14 00:02:49 2007
New Revision: 25041
Log:
Check for second stream presence, fixes single stream playback (from amol)
Modified:
trunk/libmpdemux/demux_nemesi.c
Modified: trunk/libmpdemux/demux_nemesi.c
==============================================================================
--- trunk/libmpdemux/demux_nemesi.c (original)
+++ trunk/libmpdemux/demux_nemesi.c Wed Nov 14 00:02:49 2007
@@ -334,6 +334,11 @@ int demux_rtp_fill_buffer(demuxer_t* dem
stream_add_packet(ndsd, stype, ds, &fr);
else {
stype = INVERT_STYPE(stype);
+
+ //Must check if we actually have a stream of the other type
+ if (!ndsd->session[stype])
+ return 1;
+
ds = STYPE_TO_DS(demuxer, stype);
ssrc = wait_for_packets(ndsd, stype);
More information about the MPlayer-cvslog
mailing list