summaryrefslogtreecommitdiff
path: root/sys/applemedia/corevideobuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/applemedia/corevideobuffer.c')
-rw-r--r--sys/applemedia/corevideobuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/applemedia/corevideobuffer.c b/sys/applemedia/corevideobuffer.c
index 67ed5d8cb..a45c3f61b 100644
--- a/sys/applemedia/corevideobuffer.c
+++ b/sys/applemedia/corevideobuffer.c
@@ -109,6 +109,7 @@ gst_core_video_buffer_new (GstCoreMediaCtx * ctx, CVBufferRef cvbuf,
stride[i] = cv->CVPixelBufferGetBytesPerRowOfPlane (pixbuf, i);
/* FIXME: don't hardcode NV12 */
+ gst_video_info_init (&tmp_vinfo);
gst_video_info_set_format (&tmp_vinfo,
GST_VIDEO_FORMAT_NV12, stride[0], height);
offset[1] = tmp_vinfo.offset[1];