mfvideoenc: Fix use of uninitialized value

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1911>
This commit is contained in:
Seungha Yang 2020-12-27 03:43:11 +09:00
parent 7eab7ae8cc
commit 8df131ab42

View file

@ -1229,7 +1229,7 @@ gst_mf_video_enc_register (GstPlugin * plugin, guint rank, GUID * subtype,
goto done;
gst_mf_video_enc_register_internal (plugin, rank, subtype, type_info,
&device_caps, enum_flags, i, transform, sink_template, src_template);
&device_caps, enum_flags, 0, transform, sink_template, src_template);
done:
gst_clear_object (&transform);