mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
b898333181
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) |
||
---|---|---|
.. | ||
cogl-gst-1.0.pc.in | ||
cogl-gst-2.0-experimental.pc.in | ||
cogl-gst-plugin.c | ||
cogl-gst-video-sink.c | ||
cogl-gst-video-sink.h | ||
cogl-gst.h | ||
cogl-gst.pc.in | ||
Makefile.am |