mutter/cogl-gst
Neil Roberts b898333181 cogl-gst: Fix get_caps implementation when no context is set
If no context is set on the CoglGstVideoSink then it would previously
call gst_caps_ref with a NULL pointer. This patch makes it just return
NULL instead. I think that is a valid thing to do because that is what
gst_base_sink_default_get_caps does. If we don't do this then it's not
possible to use CoglGstVideoSink with GstParse because that tries to
link the pipeline after parsing the string. That was previously
causing a critical error because the freshly parsed sink doesn't have
a CoglContext.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
Reviewed-by: Lionel Landwerlin <llandwerlin@gmail.com>
(cherry picked from commit cf26da2964e372c9fe5bd6da060a57006a83af38)
2014-01-31 12:42:03 +00:00
..
cogl-gst-1.0.pc.in Consistently name cogl-gst pkg-config files 2014-01-09 16:03:17 +00:00
cogl-gst-2.0-experimental.pc.in Consistently name cogl-gst pkg-config files 2014-01-09 16:03:17 +00:00
cogl-gst-plugin.c cogl-gst-plugin: Use a real version number and web address 2013-06-21 19:01:35 +01:00
cogl-gst-video-sink.c cogl-gst: Fix get_caps implementation when no context is set 2014-01-31 12:42:03 +00:00
cogl-gst-video-sink.h cogl-gst-video-sink: Premultiply the colors coming from the video 2014-01-31 12:42:03 +00:00
cogl-gst.h Include CoglGst 2013-06-21 18:57:24 +01:00
cogl-gst.pc.in cogl-gst: pedantic typo fix in pkg-config description 2013-06-21 18:59:49 +01:00
Makefile.am Consistently name cogl-gst pkg-config files 2014-01-09 16:03:17 +00:00