gstreamer/gst/gdp
Wim Taymans 1136224e91 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.
2012-09-11 01:54:41 +01:00
..
dataprotocol.c gdp: Rework GstSegment handling 2012-09-11 01:54:41 +01:00
dataprotocol.h gdp: add docs for GstDPPacketizer 2012-09-11 01:54:41 +01:00
dp-private.h gdp: Make code safe for -Wredundant-decls 2012-09-11 01:54:39 +01:00
gstgdp.c adding GDP payloader and depayloader. Build integration will follow later when the GDP issues for core are sorted out. 2012-09-11 01:54:28 +01:00
gstgdpdepay.c add parent to pad functions 2012-09-11 01:54:36 +01:00
gstgdpdepay.h Add -Wmissing-declarations -Wmissing-prototypes to warning flags 2012-09-11 01:54:33 +01:00
gstgdppay.c add parent to pad functions 2012-09-11 01:54:36 +01:00
gstgdppay.h Add -Wmissing-declarations -Wmissing-prototypes to warning flags 2012-09-11 01:54:33 +01:00
Makefile.am android: make it ready for androgenizer 2012-09-11 01:54:34 +01:00
README adding a README 2012-09-11 01:54:31 +01: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