rtph265pay: Properly set the marker bit
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 3 Oct 2018 17:44:56 +0000 (13:44 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 18 Dec 2018 18:30:05 +0000 (13:30 -0500)
commite721071dcac9f231e5e10b4bb31323658a6cdd1a
tree733aa6b4a6a6788a993a570f60f6739abbd91eb6
parent1f72131781816870a3e266b8f12e49c31b17ace1
rtph265pay: 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/gstrtph265pay.c