mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
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:
parent
ab9e999c35
commit
d944bfd221
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user