Lines Matching refs:allowed_caps
526 GstCaps *allowed_caps; in gst_v4l2_video_enc_negotiate() local
542 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_v4l2_video_enc_negotiate()
544 if (allowed_caps) { in gst_v4l2_video_enc_negotiate()
546 if (gst_caps_is_empty (allowed_caps)) in gst_v4l2_video_enc_negotiate()
549 allowed_caps = gst_caps_make_writable (allowed_caps); in gst_v4l2_video_enc_negotiate()
554 if (gst_caps_foreach (allowed_caps, negotiate_profile_and_level, &ctx)) { in gst_v4l2_video_enc_negotiate()
558 gst_caps_unref (allowed_caps); in gst_v4l2_video_enc_negotiate()
559 allowed_caps = NULL; in gst_v4l2_video_enc_negotiate()
609 GST_PTR_FORMAT, allowed_caps); in gst_v4l2_video_enc_negotiate()
613 if (allowed_caps) in gst_v4l2_video_enc_negotiate()
614 gst_caps_unref (allowed_caps); in gst_v4l2_video_enc_negotiate()