diff options
author | Edward Hervey <bilboed@bilboed.com> | 2007-03-14 16:30:19 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2007-03-14 16:30:19 +0000 |
commit | 045440b4833a9d6e05d9181bfbfef87aa6a85041 (patch) | |
tree | 0ed1c482a52c21f918dff1a3f91f5805aa9b03c0 /sys/osxvideo/cocoawindow.h | |
parent | f8cc26029720f1c18bb90a76f92b5e71cea04093 (diff) | |
download | gst-plugins-bad-045440b4833a9d6e05d9181bfbfef87aa6a85041.tar.gz gst-plugins-bad-045440b4833a9d6e05d9181bfbfef87aa6a85041.tar.bz2 gst-plugins-bad-045440b4833a9d6e05d9181bfbfef87aa6a85041.zip |
sys/osxvideo/: Fix leaks when running a NSApp.
Original commit message from CVS:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
Fix leaks when running a NSApp.
Accept any kind of resolutions.
Works in fullscreen. Can maximize.
Only thing left before being able to move this to -good is documentation
and embedded window support.
Diffstat (limited to 'sys/osxvideo/cocoawindow.h')
-rw-r--r-- | sys/osxvideo/cocoawindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/osxvideo/cocoawindow.h b/sys/osxvideo/cocoawindow.h index f479c995..340bd160 100644 --- a/sys/osxvideo/cocoawindow.h +++ b/sys/osxvideo/cocoawindow.h @@ -43,6 +43,7 @@ struct _GstOSXImage; int width, height; BOOL fullscreen; NSOpenGLContext* fullScreenContext; + NSOpenGLContext* actualContext; } - (void) drawQuad; - (void) drawRect: (NSRect) rect; |