[MPlayer-cvslog] r18565 - trunk/libmpdemux/demux_ts.c
nicodvb
subversion at mplayerhq.hu
Mon Jun 5 01:16:09 CEST 2006
Author: nicodvb
Date: Mon Jun 5 01:16:09 2006
New Revision: 18565
Modified:
trunk/libmpdemux/demux_ts.c
Log:
fixed wrong assignment of stream type in generic PES_PRIVATE1 streams (didn't respect the type qualified in the PMT)
Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c (original)
+++ trunk/libmpdemux/demux_ts.c Mon Jun 5 01:16:09 2006
@@ -1351,7 +1351,7 @@
mp_msg(MSGT_DEMUX, MSGL_DBG2, "PES_PRIVATE1\n");
es->start = p;
es->size = packet_len;
- es->type = PES_PRIVATE1;
+ es->type = (type_from_pmt == UNKNOWN ? PES_PRIVATE1 : type_from_pmt);
es->payload_size -= packet_len;
return 1;
More information about the MPlayer-cvslog
mailing list