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)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20219 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-10-15 09:29:02 +00:00
parent ab9e999c35
commit d944bfd221
1 changed files with 0 additions and 6 deletions

View File

@ -737,12 +737,6 @@ static off_t ts_detect_streams(demuxer_t *demuxer, tsdemux_init_t *param)
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;
}