The decoder might have been de-activated in the meantime (resulting
in NULL pad caps).
If the decoder really isn't configured, then it will error out further
down when checking whether the GST_AUDIO_INFO_IS_VALID()
https://bugzilla.gnome.org/show_bug.cgi?id=667562
gsize size;
GstFlowReturn ret = GST_FLOW_OK;
- /* subclass should know what it is producing by now */
- g_return_val_if_fail (buf == NULL || gst_pad_has_current_caps (dec->srcpad),
- GST_FLOW_ERROR);
/* subclass should not hand us no data */
g_return_val_if_fail (buf == NULL || gst_buffer_get_size (buf) > 0,
GST_FLOW_ERROR);