gstreamer/libs/gst
Thiago Santos e3f2d7db71 baseparse: add getcaps function
Adds a getcaps function to the sink pad to make parsers propagate
downstream caps restrictions to upstream.

The pipeline "audiotestsrc num-buffers=100 ! faac ! aacparse !
"audio/mpeg, version=(int)4, stream-format=(string)adts" ! filesink"
wouldn't work because aacparse wouldn't propagate the adts restriction
upstream to faac.

This patch adds a default getcaps to the sink pad to simply proxy
downstream caps and also adds a 'get_sink_caps' function pointer
to GstBaseParseClass for subclasses that need more refined getcaps.

https://bugzilla.gnome.org/show_bug.cgi?id=661874
2011-10-18 08:04:31 -03:00
..
base baseparse: add getcaps function 2011-10-18 08:04:31 -03:00
check check: add fail_unless_equals_int64 2011-05-24 16:21:20 +02:00
controller lfocontrolsource: fix clang compiler warning 2011-09-13 23:04:09 +01:00
dataprotocol docs: add docs for GstDPPacketizer 2011-05-03 13:03:20 +03:00
helpers android: make it ready for androgenizer 2011-04-11 01:08:07 +02:00
net libs: gobject-introspection scanner doesn't need to scan or update plugin info 2011-04-16 10:45:16 +01:00
Makefile.am android: make it ready for androgenizer 2011-04-11 01:08:07 +02:00