• wangfei's avatar
    h26[45]parser: Fix emulation prevention byte detection · 55db6413
    wangfei authored
    Add a separate epb_cache variable to the codecparser NalReader to
    detect Emulation Prevention Bytes separately from the main bit cache.
    This fixes problems where the existing logic can mistakenly detect
    multiple EPB with a sequence like: 0x00 0x00 0x03 0x00 0x03. In that
    case, the 5th byte should not be regarded as an EPB.
Last commit
Last update
gst Loading commit data...
Makefile.am Loading commit data...
meson.build Loading commit data...