rtph264pay: Properly set the marker bit
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 24 Sep 2018 19:31:12 +0000 (15:31 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 18 Dec 2018 18:30:05 +0000 (13:30 -0500)
commit4add820cce278213ede3d5fce427ea92e0619b6f
tree0f5068fdee8edc43720cdc131c5918e3d36cae4c
parente4f38c986ecc570ce7d63e756d4627b084161d73
rtph264pay: Properly set the marker bit

The marker bit is used for efficient decoding. The assumption that
it should be set on the AUD is wrong, since the AUD is conceptually
starts the frame, while the marker is to indicate the end.

So properly set the marker bit as soon as we know we are ending an
AU and also whenever upstream have set the GST_BUFFER_FLAG_MARKER
flag.
gst/rtp/gstrtph264pay.c