From a471de34bf1d316e98b2bd81829c7fff343ac375 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 27 Feb 2007 11:30:19 +0000 Subject: sys/osxvideo/: Disable the cocoa event loop since it's a huge memory leak. Should only matter if the sink isn't used ... Original commit message from CVS: * sys/osxvideo/cocoawindow.h: * sys/osxvideo/cocoawindow.m: * sys/osxvideo/osxvideosink.h: * sys/osxvideo/osxvideosink.m: Disable the cocoa event loop since it's a huge memory leak. Should only matter if the sink isn't used within an NSApp (which has already got a coca event loop). Remove all unused code. --- sys/osxvideo/cocoawindow.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'sys/osxvideo/cocoawindow.h') diff --git a/sys/osxvideo/cocoawindow.h b/sys/osxvideo/cocoawindow.h index c4a774d17..87f592aa0 100644 --- a/sys/osxvideo/cocoawindow.h +++ b/sys/osxvideo/cocoawindow.h @@ -53,21 +53,6 @@ struct _GstOSXImage; @end -@interface GstView : NSQuickDrawView { - int width, height; - gboolean isPortSet; - void* port; -/* Quicktime Sequence */ - ImageSequence qtseqid; - ImageDescriptionHandle imgdesc; - struct _GstOSXImage* curimg; -} -- (void) drawRect: (NSRect) rect; -- (id) initWithFrame: (NSRect) frame; -- (void) setVideoSize: (int) w: (int) h; -- (void) setVideoImage: (GstBuffer*) img; -@end - @interface GstOSXVideoSinkWindow: NSWindow { int width, height; GstGLView *gstview; -- cgit v1.2.1