Skip to content
  • Nicolas Dufresne's avatar
    rtph265pay: Fix reading timestamps from adapter · 0a6e5e43
    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.
    0a6e5e43