rtph264pay: propagate the GST_BUFFER_FLAG_DELTA_UNIT flag
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 6 May 2014 15:42:14 +0000 (17:42 +0200)
committerWim Taymans <wtaymans@redhat.com>
Thu, 19 Jun 2014 10:22:38 +0000 (12:22 +0200)
commit4be99ec7d54a49a99b5cfd50c036b15c22dc54cd
tree59825a65c48c11fe7c96c4e1d79cf1b19f5dc813
parent42ff6423728b4453aa8761e0753471a255421c3b
rtph264pay: propagate the GST_BUFFER_FLAG_DELTA_UNIT flag

Downstream elements may be interested knowing if a RTP packet is the start
of a key frame (to implement a RTP extension as defined in the
ONVIF Streaming Spec for example).

We do this by checking the GST_BUFFER_FLAG_DELTA_UNIT flag we receive from
upstream and propagate it to the *first* RTP packet outputted to transfer this
buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=730563
gst/rtp/gstrtph264pay.c
gst/rtp/gstrtph264pay.h