mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
osxvideosink: clear rectangle structures before use
This commit is contained in:
parent
3dae65ede8
commit
0b881ab2ce
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue