Lines Matching refs:template_caps
258 GstCaps *template_caps; in gst_gl_mixer_pad_sink_acceptcaps() local
262 template_caps = gst_pad_get_pad_template_caps (pad); in gst_gl_mixer_pad_sink_acceptcaps()
263 template_caps = gst_caps_make_writable (template_caps); in gst_gl_mixer_pad_sink_acceptcaps()
265 ret = gst_caps_can_intersect (caps, template_caps); in gst_gl_mixer_pad_sink_acceptcaps()
268 gst_caps_unref (template_caps); in gst_gl_mixer_pad_sink_acceptcaps()
277 GstCaps *template_caps; in gst_gl_mixer_pad_sink_getcaps() local
281 template_caps = gst_pad_get_pad_template_caps (pad); in gst_gl_mixer_pad_sink_getcaps()
285 sinkcaps = gst_caps_ref (template_caps); in gst_gl_mixer_pad_sink_getcaps()
287 sinkcaps = gst_caps_merge (sinkcaps, gst_caps_ref (template_caps)); in gst_gl_mixer_pad_sink_getcaps()
297 returned_caps = gst_caps_intersect (filtered_caps, template_caps); in gst_gl_mixer_pad_sink_getcaps()
299 gst_caps_unref (template_caps); in gst_gl_mixer_pad_sink_getcaps()
471 GstCaps *filter, *current_caps, *retcaps, *template_caps; in gst_gl_mixer_query_caps() local
475 template_caps = gst_pad_get_pad_template_caps (agg->srcpad); in gst_gl_mixer_query_caps()
479 retcaps = gst_caps_ref (template_caps); in gst_gl_mixer_query_caps()
481 retcaps = gst_caps_merge (current_caps, template_caps); in gst_gl_mixer_query_caps()
482 template_caps = NULL; in gst_gl_mixer_query_caps()
495 if (template_caps) in gst_gl_mixer_query_caps()
496 gst_caps_unref (template_caps); in gst_gl_mixer_query_caps()