mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
theoradec: init VideoInfo before usage.
This commit is contained in:
parent
337eed6e91
commit
e45e6bc297
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue