mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
y4menc: fix uninitialized variable warning
https://bugzilla.gnome.org/show_bug.cgi?id=711011
This commit is contained in:
parent
2eec7909aa
commit
ec8c141d6a
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ gst_y4m_encode_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
|
|||
timestamp = GST_BUFFER_TIMESTAMP (buf);
|
||||
|
||||
if (G_UNLIKELY (!filter->header)) {
|
||||
gboolean tff;
|
||||
gboolean tff = FALSE;
|
||||
|
||||
if (GST_VIDEO_INFO_IS_INTERLACED (&filter->info)) {
|
||||
tff = GST_BUFFER_FLAG_IS_SET (buf, GST_VIDEO_BUFFER_FLAG_TFF);
|
||||
|
|
Loading…
Reference in a new issue