downstream_profiles.insert (profile);
}
}
- gst_clear_caps (&allowed_caps);
GST_DEBUG_OBJECT (self, "Downstream specified %" G_GSIZE_FORMAT " profiles",
downstream_profiles.size ());
GST_WARNING_OBJECT (self,
"Allowed caps holds no profile field %" GST_PTR_FORMAT, allowed_caps);
+ gst_clear_caps (&allowed_caps);
+
return gst_video_encoder_proxy_getcaps (encoder, nullptr, filter);
}
+ gst_clear_caps (&allowed_caps);
+
/* Profile allows interlaced? */
/* *INDENT-OFF* */
gboolean can_support_interlaced = FALSE;
}
}
}
- gst_clear_caps (&allowed_caps);
GST_DEBUG_OBJECT (self, "Downstream specified %" G_GSIZE_FORMAT " profiles",
downstream_profiles.size ());
GST_WARNING_OBJECT (self,
"Allowed caps holds no profile field %" GST_PTR_FORMAT, allowed_caps);
+ gst_clear_caps (&allowed_caps);
+
return gst_video_encoder_proxy_getcaps (encoder, nullptr, filter);
}
+ gst_clear_caps (&allowed_caps);
+
template_caps = gst_pad_get_pad_template_caps (encoder->sinkpad);
template_caps = gst_caps_make_writable (template_caps);
}
}
}
- gst_clear_caps (&allowed_caps);
GST_DEBUG_OBJECT (self, "Downstream specified %" G_GSIZE_FORMAT " profiles",
downstream_profiles.size ());
GST_WARNING_OBJECT (self,
"Allowed caps holds no profile field %" GST_PTR_FORMAT, allowed_caps);
+ gst_clear_caps (&allowed_caps);
+
return gst_video_encoder_proxy_getcaps (encoder, nullptr, filter);
}
+ gst_clear_caps (&allowed_caps);
+
template_caps = gst_pad_get_pad_template_caps (encoder->sinkpad);
template_caps = gst_caps_make_writable (template_caps);