[MPlayer-cvslog] r20219 - trunk/libmpdemux/demux_ts.c

nicodvb subversion at mplayerhq.hu
Sun Oct 15 11:29:03 CEST 2006


Author: nicodvb
Date: Sun Oct 15 11:29:02 2006
New Revision: 20219

Modified:
   trunk/libmpdemux/demux_ts.c

Log:
during stream detection always parse ts_probesize bytes (even with -nosound set),
otherwise the demuxer may not have a chance to correctly identify the stream type
(e.g. H264 was misidentified as MPEG2 with -nosound set)


Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c	(original)
+++ trunk/libmpdemux/demux_ts.c	Sun Oct 15 11:29:02 2006
@@ -737,12 +737,6 @@
 			if(audio_found && (param->apid == es.pid) && (! video_found))
 				num_packets++;
 
-			if((req_apid == -2) && video_found)
-			{
-				param->atype = 0;
-				break;
-			}
-
 			if((has_tables==0) && (video_found && audio_found) && (pos >= 1000000))
 				break;
 		}



More information about the MPlayer-cvslog mailing list