Changeset 1188

Show
Ignore:
Timestamp:
10/29/09 15:49:17 (10 months ago)
Author:
astrange
Message:

Fix decoding of MPEG1/2 in MKV.
It needed to be marked as having ctts.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/FFusionCodec.c

    r1185 r1188  
    612612                enum CodecID codecID = getCodecID(componentType); 
    613613                 
    614                 if(componentType == 'mp4v' || componentType == 'avc1') 
     614                // official Apple/QT/ISO/etc fourccs are likely to have PTS vs DTS defined 
     615                // FIXME what this actually checks is whether the file has a 'ctts' atom, can we do that directly? 
     616                if(componentType == kMPEG4VisualCodecType || componentType == kH264CodecType || 
     617                   componentType == kMPEG1VisualCodecType || componentType == kMPEG2VisualCodecType) 
    615618                        glob->packedType = PACKED_QUICKTIME_KNOWS_ORDER; 
    616619