theoradec: init VideoInfo before usage.

This commit is contained in:
Wim Taymans 2012-03-02 17:10:26 +01:00
parent 337eed6e91
commit e45e6bc297

View file

@ -820,6 +820,7 @@ theora_negotiate (GstTheoraDec * dec)
}
/* info contains the dimensions for the coded picture before cropping */
gst_video_info_init (&info);
gst_video_info_set_format (&info, format, dec->info.frame_width,
dec->info.frame_height);
info.fps_n = dec->info.fps_numerator;