y4menc: fix uninitialized variable warning
https://bugzilla.gnome.org/show_bug.cgi?id=711011
This commit is contained in:
parent
2eec7909aa
commit
ec8c141d6a
@ -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…
x
Reference in New Issue
Block a user