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:
527c218
)
osxvideosink: Fix resizing the Cocoa window on receiving new caps
author
Alexey Chernov
<4ernov@gmail.com>
Mon, 10 Dec 2012 11:44:26 +0000
(11:44 +0000)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Mon, 10 Dec 2012 11:45:10 +0000
(11:45 +0000)
Fixes bug #689732.
sys/osxvideo/osxvideosink.m
patch
|
blob
|
history
diff --git
a/sys/osxvideo/osxvideosink.m
b/sys/osxvideo/osxvideosink.m
index f14d998d68d03fc48b7a24b089797896a187ae17..34921642138e9b718e81886a3b53d093b4da2835 100644
(file)
--- a/
sys/osxvideo/osxvideosink.m
+++ b/
sys/osxvideo/osxvideosink.m
@@
-837,7
+837,8
@@
gst_osx_video_sink_get_type (void)
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
GST_INFO_OBJECT (osxvideosink, "resizing");
- [osxwindow->gstview setVideoSize:osxwindow->width :osxwindow->height];
+ NSSize size = {osxwindow->width, osxwindow->height};
+ [osxwindow->win setContentSize:size];
GST_INFO_OBJECT (osxvideosink, "done");
[pool release];