projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dae65e
)
osxvideosink: clear rectangle structures before use
author
Wim Taymans
<wtaymans@redhat.com>
Tue, 16 Dec 2014 12:25:01 +0000
(13:25 +0100)
committer
Wim Taymans
<wtaymans@redhat.com>
Tue, 16 Dec 2014 12:25:01 +0000
(13:25 +0100)
sys/osxvideo/osxvideosink.m
patch
|
blob
|
history
diff --git
a/sys/osxvideo/osxvideosink.m
b/sys/osxvideo/osxvideosink.m
index
faa3196
..
aa428f0
100644
(file)
--- 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;