[Gst/MQTT/Src] Support GstCaps re-negotiation
authorWook Song <wook16.song@samsung.com>
Tue, 27 Apr 2021 04:15:01 +0000 (13:15 +0900)
committerDongju Chae <dongju.chae@samsung.com>
Mon, 10 May 2021 06:01:57 +0000 (15:01 +0900)
commite4afff8b972114b7db14f7d6760f543cb1a7eb98
tree4a35c23af0f8510442cf96c3a8c136733336d3bf
parentee36fd652eee6317af30f1c6d4278c93760f192e
[Gst/MQTT/Src] Support GstCaps re-negotiation

To support GstCaps re-negotiation based on the information embedded in
the incoming messages' headers, this patch adds procedures to extract
the GstCaps information from the incoming messages' headers and send a
new Caps event to the downstream. As a result, fixating Caps and
negotiating Caps are done again during the message/buffer processing.

Signed-off-by: Wook Song <wook16.song@samsung.com>
gst/mqtt/mqttsrc.c
gst/mqtt/mqttsrc.h