mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
videoparse: initialize update_size to FALSE when updating info
Otherwise, behavior will be undefined when no strides/offsets are set and it will likely go wrong. https://bugzilla.gnome.org/show_bug.cgi?id=760270
This commit is contained in:
parent
acb7205f91
commit
5fd3511859
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ gst_video_parse_update_info (GstVideoParse * vp)
|
|||
gint fps_n, fps_d;
|
||||
gint framesize;
|
||||
guint i;
|
||||
gboolean update_size;
|
||||
gboolean update_size = FALSE;
|
||||
|
||||
gst_raw_parse_get_fps (GST_RAW_PARSE (vp), &fps_n, &fps_d);
|
||||
|
||||
|
|
Loading…
Reference in a new issue