Installing cogl breaks gst-launch
Installing cogl-1.22.6 or cogl from git prevents gst-launch from working as expected - see errors below.
If /usr/local/lib/gstreamer-1.0/libgstcogl.so is deleted, gst-launch works as expected.
The above is on an RPi3/RPi4 with gst*-1.16.2 and mesa-20.0.6 and, I suspect, prevents totem from playing videos.
$ gst-launch-1.0 playbin uri=file:///mnt/mmcblk0p2/media/video/video_test.mp4
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Redistribute latency...
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.604: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps1)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.605: gst_caps_is_empty: assertion 'GST_IS_CAPS (caps)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.605: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.605: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps1)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.605: gst_caps_is_empty: assertion 'GST_IS_CAPS (caps)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.605: gst_mini_object_unref: assertion 'mini_object != NULL' failed
Redistribute latency...
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.620: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps1)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.620: gst_caps_is_empty: assertion 'GST_IS_CAPS (caps)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.620: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.621: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps1)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.621: gst_caps_is_empty: assertion 'GST_IS_CAPS (caps)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.621: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.621: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps1)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.622: gst_caps_is_empty: assertion 'GST_IS_CAPS (caps)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.622: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.622: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps1)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.622: gst_caps_is_empty: assertion 'GST_IS_CAPS (caps)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.622: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.622: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps1)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.622: gst_caps_is_empty: assertion 'GST_IS_CAPS (caps)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.622: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.622: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps1)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.622: gst_caps_is_empty: assertion 'GST_IS_CAPS (caps)' failed
(gst-launch-1.0:20766): GStreamer-CRITICAL **: 12:32:50.622: gst_mini_object_unref: assertion 'mini_object != NULL' failed
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0: Internal data stream error.
Additional debug info:
../gst/isomp4/qtdemux.c(6605): gst_qtdemux_loop (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...