summaryrefslogtreecommitdiffstats
path: root/sys/osxvideo/osxvideosink.h
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-02-27 11:30:19 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-02-27 11:30:19 +0000
commita471de34bf1d316e98b2bd81829c7fff343ac375 (patch)
treeb30215c487c440f4e99c85e523e388b294535dbc /sys/osxvideo/osxvideosink.h
parent08470e221bd2484eb3a9473186273b3a282c40b5 (diff)
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.
Diffstat (limited to 'sys/osxvideo/osxvideosink.h')
-rw-r--r--sys/osxvideo/osxvideosink.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/osxvideo/osxvideosink.h b/sys/osxvideo/osxvideosink.h
index b2577512..f03d1bde 100644
--- a/sys/osxvideo/osxvideosink.h
+++ b/sys/osxvideo/osxvideosink.h
@@ -52,24 +52,6 @@ typedef struct _GstOSXVideoSinkClass GstOSXVideoSinkClass;
#define GST_TYPE_OSXVIDEOBUFFER (gst_osxvideobuffer_get_type())
-#define GST_IS_OSXVIDEOBUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_OSXVIDEOBUFFER))
-#define GST_OSXVIDEOBUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_OSXVIDEOBUFFER, GstOSXVideoBuffer))
-
-typedef struct _GstOSXVideoBuffer GstOSXVideoBuffer;
-
-struct _GstOSXVideoBuffer {
- GstBuffer buffer; /* We extend GstBuffer */
-
- CVOpenGLTextureRef texture;
-
- gint width;
- gint height;
-
- gboolean locked;
-
- GstOSXVideoSink *osxvideosink;
-};
-
/* OSXWindow stuff */
struct _GstOSXWindow {
gint width, height;
@@ -82,9 +64,6 @@ struct _GstOSXVideoSink {
/* Our element stuff */
GstVideoSink videosink;
- GMutex *pool_lock;
- GSList *buffer_pool;
-
GstOSXWindow *osxwindow;
gint fps_n;