Skip to content
  • Nicolas Dufresne's avatar
    rtph264pay: Fix reading timestamps from adapter · 1f721317
    Nicolas Dufresne authored
    The code was reading the timestamp from the adapter before pushing the
    new buffer into it. As a side effect, if the adapter was empty, we'd end
    up using an older timestamp. In alignment=au, it means that all
    timestamp was likely one frame in the past, while in alignment=nal, with
    multiple slices per frame, the first slice would have the timestamp of
    the previous one.
    1f721317