changeset 20213:cc316541564f

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)
author nicodvb
date Sun, 15 Oct 2006 09:29:02 +0000
parents ac72ae437e30
children 5adb559fc1c6
files libmpdemux/demux_ts.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c	Sat Oct 14 21:30:41 2006 +0000
+++ b/libmpdemux/demux_ts.c	Sun Oct 15 09:29:02 2006 +0000
@@ -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;
 		}