Skip to content
  • Jan Schmidt's avatar
    h264parse: When input alignment=AU, always drain each packet. · 92e7e3a3
    Jan Schmidt authored
    If the input alignment claims AU alignment, each received
    buffer should contain a complete video frame, so never hold over parts
    of buffers for later processing. Also reduces latency, as packets
    are parsed/converted and output immediately instead of 1 buffer
    later.
    
    Fixes a problem where an (arguably disallowed) padding byte on the
    end of a buffer is detected as an extra byte in the following
    start code, and messes up the timestamping that should apply to
    that start code.
    92e7e3a3