Commit e45e6bc2 authored by Wim Taymans's avatar Wim Taymans

theoradec: init VideoInfo before usage.

parent 337eed6e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment