• Home
  • Raw
  • Download

Lines Matching refs:sinkcaps

204   GstCaps *result = NULL, *peercaps, *sinkcaps;  in gst_audio_interleave_sink_getcaps()  local
208 if (self->sinkcaps) in gst_audio_interleave_sink_getcaps()
209 result = gst_caps_copy (self->sinkcaps); in gst_audio_interleave_sink_getcaps()
217 sinkcaps = gst_caps_copy (gst_pad_get_pad_template_caps (pad)); in gst_audio_interleave_sink_getcaps()
218 __remove_channels (sinkcaps); in gst_audio_interleave_sink_getcaps()
224 result = gst_caps_intersect (peercaps, sinkcaps); in gst_audio_interleave_sink_getcaps()
226 gst_caps_unref (sinkcaps); in gst_audio_interleave_sink_getcaps()
231 result = sinkcaps; in gst_audio_interleave_sink_getcaps()
423 if (self->sinkcaps && !gst_caps_is_subset (caps, self->sinkcaps)) in gst_audio_interleave_setcaps()
426 if (!self->sinkcaps) { in gst_audio_interleave_setcaps()
427 GstCaps *sinkcaps = gst_caps_copy (caps); in gst_audio_interleave_setcaps() local
428 GstStructure *s = gst_caps_get_structure (sinkcaps, 0); in gst_audio_interleave_setcaps()
432 GST_DEBUG_OBJECT (self, "setting sinkcaps %" GST_PTR_FORMAT, sinkcaps); in gst_audio_interleave_setcaps()
434 gst_caps_replace (&self->sinkcaps, sinkcaps); in gst_audio_interleave_setcaps()
437 gst_caps_unref (sinkcaps); in gst_audio_interleave_setcaps()
470 "change", self->sinkcaps); in gst_audio_interleave_setcaps()
517 if (self->sinkcaps == NULL || self->channels == 0) { in gst_audio_interleave_update_src_caps()
522 *ret = gst_caps_copy (self->sinkcaps); in gst_audio_interleave_update_src_caps()
715 gst_caps_replace (&self->sinkcaps, NULL); in gst_audio_interleave_stop()