aboutsummaryrefslogtreecommitdiff
path: root/sys/applemedia/vtdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/applemedia/vtdec.c')
-rw-r--r--sys/applemedia/vtdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/applemedia/vtdec.c b/sys/applemedia/vtdec.c
index 6ddf7fbb..1533f4a2 100644
--- a/sys/applemedia/vtdec.c
+++ b/sys/applemedia/vtdec.c
@@ -219,6 +219,7 @@ gst_vtdec_sink_setcaps (GstVTDec * self, GstCaps * caps)
if (!gst_structure_get_int (structure, "height", &height))
goto incomplete_caps;
+ gst_video_info_init (&self->vinfo);
gst_video_info_set_format (&self->vinfo, format, width, height);
if (gst_structure_get_fraction (structure, "framerate", &fps_n, &fps_d)) {