diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-15 09:29:02 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-15 09:29:02 +0000 |
commit | d944bfd221d1e5e574f099606f1c12e3c7ea45b4 (patch) | |
tree | 1d0297030e1e9eb885458cff8d4d5a290294d81b /libmpdemux | |
parent | ab9e999c3552817b37ec680d0dd6df9a10d1f340 (diff) | |
download | mpv-d944bfd221d1e5e574f099606f1c12e3c7ea45b4.tar.bz2 mpv-d944bfd221d1e5e574f099606f1c12e3c7ea45b4.tar.xz |
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
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_ts.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libmpdemux/demux_ts.c b/libmpdemux/demux_ts.c index 01c8ee69f5..8152883679 100644 --- a/libmpdemux/demux_ts.c +++ b/libmpdemux/demux_ts.c @@ -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; } |