gstreamer/gst/gdp
Víctor Manuel Jáquez Leal f04b20e59e gdpdepay: don't allocation query if caps aren't fixed
When querying downstream for allocation, and the source caps hasn't
set its caps, using ANY by default, it raises a critical message in
console:

CRITICAL **: gst_video_info_from_caps: assertion 'gst_caps_is_fixed (caps)' failed

This patch bails out decide_allocation() if the caps aren't fixed.

https://bugzilla.gnome.org/show_bug.cgi?id=789476
2018-01-31 14:03:36 +01:00
..
dataprotocol.c docs: Port all docstring to gtk-doc markdown 2017-04-12 12:57:57 -03:00
dataprotocol.h gdpdepay: Query for buffer allocator before using default 2016-04-03 11:45:09 +03:00
dp-private.h gdp: add DTS to headers 2014-01-31 23:44:11 -03:00
gstgdp.c Fix FSF address 2012-11-04 00:09:59 +00:00
gstgdpdepay.c gdpdepay: don't allocation query if caps aren't fixed 2018-01-31 14:03:36 +01:00
gstgdpdepay.h gdpdepay: Query for buffer allocator before using default 2016-04-03 11:45:09 +03:00
gstgdppay.c docs: Port all docstring to gtk-doc markdown 2017-04-12 12:57:57 -03:00
gstgdppay.h gdppay: refactor a little 2014-12-26 13:44:32 +00:00
Makefile.am Remove plugin specific static build option 2017-05-16 14:05:52 -04:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:35:54 +01:00
README plugins-bad: Fix example pipelines 2015-12-15 10:30:49 +00:00

Sample pipelines:
- replacing tcpserversink protocol=gdp with gdppay ! tcpserversink:
  - raw audio:
    - server:
      gst-launch-1.0 -v audiotestsrc ! gdppay version=0.2 ! tcpserversink
    - client:
      gst-launch-1.0 -v tcpclientsrc protocol=gdp ! alsasink sync=FALSE

  - vorbis packets:
    - server:
      gst-launch-1.0 -v audiotestsrc ! audioconvert ! vorbisenc ! gdppay version=0.2 ! tcpserversink
    - client:
      gst-launch-1.0 -v tcpclientsrc protocol=gdp ! vorbisdec ! audioconvert ! alsasink sync=FALSE

  - ogg packets:
    - server:
      gst-launch-1.0 -v audiotestsrc ! audioconvert ! vorbisenc ! oggmux ! gdppay version=0.2 ! tcpserversink
    - client:
      gst-launch-1.0 -v tcpclientsrc protocol=gdp ! oggdemux ! vorbisdec ! audioconvert ! alsasink sync=FALSE

  In all the client pipelines, tcpclientsrc protocol=gdp can be replaced with
  tcpclientsrc ! gdpdepay