git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9919 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2003-04-14 01:38:36 +00:00
parent f3ee43cce7
commit dee3422acb
1 changed files with 2 additions and 2 deletions

View File

@ -909,8 +909,8 @@ if(file_format==DEMUXER_TYPE_UNKNOWN || file_format==DEMUXER_TYPE_MPEG_PS){
#endif
#if 1
// fuzzy h264-es detection. do NOT enable without heavy testing of mpeg formats detection!
if(num_h264_slice>3 || (num_h264_dpa>3 && num_h264_dpb>3 && num_h264_dpc>3) &&
num_h264_sps>=1 && num_h264_pps>=1 /*&& num_h264_idr>=1*/ &&
if((num_h264_slice>3 || (num_h264_dpa>3 && num_h264_dpb>3 && num_h264_dpc>3)) &&
/* FIXME num_h264_sps>=1 && */ num_h264_pps>=1 && num_h264_idr>=1 &&
num_elementary_packets1B6==0 && num_elementary_packetsPES==0 &&
demuxer->synced<2){
file_format=DEMUXER_TYPE_H264_ES;