Changeset 818

Show
Ignore:
Timestamp:
02/29/08 13:43:50 (6 months ago)
Author:
astrange
Message:

Report non-IDR I-frames to be P-frames, since they are. This fixes an incorrect framedropping regression from 1.0; QT can drop the last P-frame before an IDR-frame, which is reasonable.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/bitstream_info.c

    r806 r818  
    583583                                        } 
    584584                                } 
     585                                 
     586                                // Parser users assume I-frames are IDR-frames 
     587                                // but in H.264 they don't have to be. 
     588                                // Mark these as P-frames if they effectively are. 
     589                                if (lowestType == FF_I_TYPE) lowestType = FF_P_TYPE; 
    585590                        } 
    586591                        else if(nalType == 5)