GNOME Bugzilla – Bug 705475
goom: negotiation fails when sink has ANY caps
Last modified: 2013-08-05 14:22:26 UTC
Created attachment 250826 [details] [review] proposed patch $ gst-launch-1.0 audiotestsrc ! goom ! fakesink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... (gst-launch-1.0:30968): GStreamer-CRITICAL **: gst_structure_fixate_field_nearest_int: assertion `IS_MUTABLE (structure)' failed (gst-launch-1.0:30968): GStreamer-CRITICAL **: gst_structure_fixate_field_nearest_int: assertion `IS_MUTABLE (structure)' failed (gst-launch-1.0:30968): GStreamer-CRITICAL **: gst_structure_fixate_field_nearest_fraction: assertion `IS_MUTABLE (structure)' failed (gst-launch-1.0:30968): GStreamer-CRITICAL **: gst_buffer_pool_config_set_params: assertion `caps == NULL || gst_caps_is_fixed (caps)' failed (gst-launch-1.0:30968): GStreamer-CRITICAL **: gst_structure_fixate_field_nearest_int: assertion `IS_MUTABLE (structure)' failed (gst-launch-1.0:30968): GStreamer-CRITICAL **: gst_structure_fixate_field_nearest_int: assertion `IS_MUTABLE (structure)' failed (gst-launch-1.0:30968): GStreamer-CRITICAL **: gst_structure_fixate_field_nearest_fraction: assertion `IS_MUTABLE (structure)' failed (gst-launch-1.0:30968): GStreamer-CRITICAL **: gst_buffer_pool_config_set_params: assertion `caps == NULL || gst_caps_is_fixed (caps)' failed Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Fixed in attached patch
Comment on attachment 250826 [details] [review] proposed patch Looks good. Please prefix commit message summary line with 'goom:' and add bug uri.
commit d14d4c436ce8d946997c927c61a4da9001cff936 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: Mon Aug 5 08:49:50 2013 +0200 goom: Ensure src caps are writable In some cases the src caps determined by goom weren't writable, causing a bunch of assertion failures and failed caps. Fixed by always explicitely making the caps writable https://bugzilla.gnome.org/show_bug.cgi?id=705475