summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-09-18 13:17:27 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-09-18 13:19:37 +0200
commit7cf43c7b93360192a657893eeccd575ee125f599 (patch)
tree16bc54bb5c7ae2f697750ee00dab2f92ea26ce74 /gst
parent4955bc6dca380520111c3bed0c303f8a66e6aef3 (diff)
downloadgstreamer-plugins-bad-7cf43c7b93360192a657893eeccd575ee125f599.tar.gz
y4mdec: init videoinfo
Diffstat (limited to 'gst')
-rw-r--r--gst/y4m/gsty4mdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/y4m/gsty4mdec.c b/gst/y4m/gsty4mdec.c
index bb13cc698..bb328e63a 100644
--- a/gst/y4m/gsty4mdec.c
+++ b/gst/y4m/gsty4mdec.c
@@ -376,6 +376,7 @@ gst_y4m_dec_parse_header (GstY4mDec * y4mdec, char *header)
return FALSE;
}
+ gst_video_info_init (&y4mdec->info);
gst_video_info_set_format (&y4mdec->info, format, width, height);
switch (interlaced_char) {