diff --git a/sys/osxvideo/osxvideosink.m b/sys/osxvideo/osxvideosink.m index faa3196c5b..aa428f0a96 100644 --- a/sys/osxvideo/osxvideosink.m +++ b/sys/osxvideo/osxvideosink.m @@ -587,7 +587,9 @@ gst_osx_video_sink_navigation_send_event (GstNavigation * navigation, GstOSXVideoSink *osxvideosink = GST_OSX_VIDEO_SINK (navigation); GstPad *peer; GstEvent *event; - GstVideoRectangle src, dst, result; + GstVideoRectangle src = { 0, }; + GstVideoRectangle dst = { 0, }; + GstVideoRectangle result; NSRect bounds; gdouble x, y, xscale = 1.0, yscale = 1.0;