mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 06:01:04 +00:00
encodebin: fix compiler warning
cspace and cspace2 may run uninitialized.
This commit is contained in:
parent
7ad1ba6fba
commit
bf816fe816
1 changed files with 1 additions and 1 deletions
|
@ -1262,7 +1262,7 @@ _create_stream_group (GstEncodeBin * ebin, GstEncodingProfile * sprof,
|
||||||
/* FIXME : Once we have properties for specific converters, use those */
|
/* FIXME : Once we have properties for specific converters, use those */
|
||||||
if (GST_IS_ENCODING_VIDEO_PROFILE (sprof)) {
|
if (GST_IS_ENCODING_VIDEO_PROFILE (sprof)) {
|
||||||
const gboolean native_video = ! !(ebin->flags & GST_ENC_FLAG_NATIVE_VIDEO);
|
const gboolean native_video = ! !(ebin->flags & GST_ENC_FLAG_NATIVE_VIDEO);
|
||||||
GstElement *cspace, *scale, *vrate, *cspace2;
|
GstElement *cspace = NULL, *scale, *vrate, *cspace2 = NULL;
|
||||||
|
|
||||||
GST_LOG ("Adding conversion elements for video stream");
|
GST_LOG ("Adding conversion elements for video stream");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue