gstreamer/gst/gdp
Wim Taymans 7c7920e0e2 gdp: Rework GstSegment handling
Improve GstSegment, rename some fields. The idea is to have the GstSegment
structure represent the timing structure of the buffers as they are generated by
the source or demuxer element.
gst_segment_set_seek() -> gst_segment_do_seek()
Rename the NEWSEGMENT event to SEGMENT.
Make parsing of the SEGMENT event into a GstSegment structure.
Pass a GstSegment structure when making a new SEGMENT event. This allows us to
pass the timing info directly to the next element. No accumulation is needed in
the receiving element, all the info is inside the element.
Remove gst_segment_set_newsegment(): This function as used to accumulate
segments received from upstream, which is now not needed anymore because the
segment event contains the complete timing information.
2011-12-25 22:49:59 +00:00
..
dataprotocol.c gdp: Rework GstSegment handling 2011-12-25 22:49:59 +00:00
dataprotocol.h gdp: add docs for GstDPPacketizer 2011-12-25 22:49:59 +00:00
dp-private.h gdp: Make code safe for -Wredundant-decls 2011-12-25 22:49:59 +00:00
gstgdp.c adding GDP payloader and depayloader. Build integration will follow later when the GDP issues for core are sorted out. 2006-05-22 13:25:52 +00:00
gstgdpdepay.c add parent to pad functions 2011-11-17 12:48:25 +01:00
gstgdpdepay.h Add -Wmissing-declarations -Wmissing-prototypes to warning flags 2010-03-11 13:50:31 +01:00
gstgdppay.c add parent to pad functions 2011-11-17 12:48:25 +01:00
gstgdppay.h Add -Wmissing-declarations -Wmissing-prototypes to warning flags 2010-03-11 13:50:31 +01:00
Makefile.am android: make it ready for androgenizer 2011-04-11 07:23:21 +02:00
README adding a README 2006-08-21 19:04:14 +00:00

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