encodebin: silence a maybe-unitialized warning

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
This commit is contained in:
Matthew Waters 2024-11-13 16:59:18 +11:00
parent 741f935bbf
commit bf22f282eb

View file

@ -1133,7 +1133,7 @@ static inline GstPad *
get_compatible_muxer_sink_pad (GstEncodeBaseBin * ebin, get_compatible_muxer_sink_pad (GstEncodeBaseBin * ebin,
GstEncodingProfile * sprof, GstCaps * sinkcaps) GstEncodingProfile * sprof, GstCaps * sinkcaps)
{ {
GstPad *sinkpad; GstPad *sinkpad = NULL;
GList *padl, *compatible_templates = NULL; GList *padl, *compatible_templates = NULL;
GST_DEBUG_OBJECT (ebin, "Finding muxer pad for caps: %" GST_PTR_FORMAT, GST_DEBUG_OBJECT (ebin, "Finding muxer pad for caps: %" GST_PTR_FORMAT,