y4mdec: init videoinfo

This commit is contained in:
Mark Nauwelaerts 2012-09-18 13:17:27 +02:00
parent 4955bc6dca
commit 7cf43c7b93

View file

@ -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) {