• Anton Khirnov's avatar
    h264: derive the delay from the level when it's not present · b09ad37c
    Anton Khirnov authored
    Fall back to maximum DPB size if the level is unknown.
    
    This should be more spec-compliant and does not depend on the caller
    setting has_b_frames before opening the decoder.
    
    The old behaviour, when the delay is supplied by the caller setting
    has_b_frames, can still be obtained by setting strict_std_compliance
    below normal.
    b09ad37c
h264_ps.c 28.2 KB