socketsrc: Add support for GstNetControlMessageMeta
authorWilliam Manley <will@williammanley.net>
Fri, 13 Mar 2015 16:19:28 +0000 (16:19 +0000)
committerWim Taymans <wtaymans@redhat.com>
Sat, 14 Mar 2015 12:23:28 +0000 (13:23 +0100)
commit8328eab2dea1bdf5e6180f668aed2b83d203f1c4
tree285ad318ad48c4be7359f092088dc1168a52bc12
parente63e023e300fd8ab778758dad6a28fa5cea154d2
socketsrc: Add support for GstNetControlMessageMeta

multisocketsink now understands the new GstNetControlMessageMeta to allow
sending control messages (ancillary data) with data when writing to Unix
domain sockets.

Thanks to glib's `GSocketControlMessage` abstraction the code introduced
in this commit is entirely portable and doesn't introduce and additional
dependencies or conditionally compiled code, even if it is unlikely to be
of much use on non-UNIX systems.
gst/tcp/gstsocketsrc.c