Lines Matching refs:output_caps
195 GstCaps *output_caps = NULL; in gst_ldac_enc_do_negotiate() local
209 output_caps = gst_caps_intersect (caps, filter_caps); in gst_ldac_enc_do_negotiate()
212 if (output_caps == NULL || gst_caps_is_empty (output_caps)) { in gst_ldac_enc_do_negotiate()
221 GST_DEBUG_OBJECT (enc, "fixating caps %" GST_PTR_FORMAT, output_caps); in gst_ldac_enc_do_negotiate()
222 output_caps = gst_caps_truncate (output_caps); in gst_ldac_enc_do_negotiate()
223 s = gst_caps_get_structure (output_caps, 0); in gst_ldac_enc_do_negotiate()
231 output_caps = gst_caps_fixate (output_caps); in gst_ldac_enc_do_negotiate()
232 gst_caps_set_simple (output_caps, "framed", G_TYPE_BOOLEAN, TRUE, NULL); in gst_ldac_enc_do_negotiate()
235 gst_caps_set_simple (output_caps, "eqmid", G_TYPE_INT, enc->eqmid, NULL); in gst_ldac_enc_do_negotiate()
237 GST_INFO_OBJECT (enc, "output caps %" GST_PTR_FORMAT, output_caps); in gst_ldac_enc_do_negotiate()
244 return output_caps; in gst_ldac_enc_do_negotiate()
247 if (output_caps) in gst_ldac_enc_do_negotiate()
248 gst_caps_unref (output_caps); in gst_ldac_enc_do_negotiate()
258 GstCaps *output_caps = NULL; in gst_ldac_enc_negotiate() local
260 output_caps = gst_ldac_enc_do_negotiate (audio_enc); in gst_ldac_enc_negotiate()
261 if (output_caps == NULL) { in gst_ldac_enc_negotiate()
266 if (!gst_audio_encoder_set_output_format (audio_enc, output_caps)) { in gst_ldac_enc_negotiate()
268 gst_caps_unref (output_caps); in gst_ldac_enc_negotiate()
271 gst_caps_unref (output_caps); in gst_ldac_enc_negotiate()
280 GstCaps *output_caps = NULL; in gst_ldac_enc_set_format() local
305 output_caps = gst_ldac_enc_do_negotiate (audio_enc); in gst_ldac_enc_set_format()
306 if (output_caps == NULL) { in gst_ldac_enc_set_format()
311 if (!gst_audio_encoder_set_output_format (audio_enc, output_caps)) { in gst_ldac_enc_set_format()
313 gst_caps_unref (output_caps); in gst_ldac_enc_set_format()
316 gst_caps_unref (output_caps); in gst_ldac_enc_set_format()