Lines Matching defs:caps
73 static gboolean gst_a2dp_sink_set_caps(GstPad *pad, GstCaps *caps);
231 /* the getcaps of our ghostpad must reflect the device caps */
379 GstCaps *caps;
385 "returning template caps");
386 caps = gst_static_pad_template_get_caps(
389 GST_LOG_OBJECT(self, "Getting device caps");
390 caps = gst_a2dp_sink_get_device_caps(self);
391 if (caps == NULL)
392 caps = gst_static_pad_template_get_caps(
395 caps_aux = gst_caps_copy(caps);
396 g_object_set(self->capsfilter, "caps", caps_aux, NULL);
398 return caps;
504 GstCaps *caps)
512 structure = gst_caps_get_structure(caps, 0);
555 if (!gst_avdtp_sink_set_device_caps(self->sink, caps))
571 static gboolean gst_a2dp_sink_set_caps(GstPad *pad, GstCaps *caps)
576 GST_INFO_OBJECT(self, "setting caps");
578 /* now we know the caps */
579 gst_a2dp_sink_init_dynamic_elements(self, caps);
581 return self->ghostpad_setcapsfunc(GST_PAD(self->ghostpad), caps);
633 GST_ERROR_OBJECT(self, "Failed to initialize caps filter");
688 g_object_set(self->capsfilter, "caps",