mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
8572c5fc76
Original commit message from CVS: 2005-10-13 Andy Wingo <wingo@pobox.com> * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps): Fix Timmeke Waymans bug. (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated string of the proper length to gst_caps_from_string. There's a potential for, before this fix, that this could cause someone connecting over the network to cause a segfault if the payload is not NUL-terminated. |
||
---|---|---|
.. | ||
dataprotocol.c | ||
dataprotocol.h | ||
dp-private.h | ||
gstgdp.c | ||
gstgdpdepay.c | ||
gstgdpdepay.h | ||
gstgdppay.c | ||
gstgdppay.h | ||
Makefile.am | ||
README |
Sample pipelines: - replacing tcpserversink protocol=gdp with gdppay ! tcpserversink: - raw audio: - server: gst-launch -v audiotestsrc ! gdppay version=0.2 ! tcpserversink - client: gst-launch -v tcpclientsrc protocol=gdp ! alsasink sync=FALSE - vorbis packets: - server: gst-launch -v audiotestsrc ! audioconvert ! vorbisenc ! gdppay version=0.2 ! tcpserversink - client: gst-launch -v tcpclientsrc protocol=gdp ! vorbisdec ! audioconvert ! alsasink sync=FALSE - ogg packets: - server: gst-launch -v audiotestsrc ! audioconvert ! vorbisenc ! oggmux ! gdppay version=0.2 ! tcpserversink - client: gst-launch -v tcpclientsrc protocol=gdp ! oggdemux ! vorbisdec ! audioconvert ! alsasink sync=FALSE In all the client pipelines, tcpclientsrc protocol=gdp can be replaced with tcpclientsrc ! gdpdepay