diff options
author | Edward Hervey <bilboed@bilboed.com> | 2007-02-27 11:30:19 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2007-02-27 11:30:19 +0000 |
commit | bd7b6fc51c1ba10d77780cc5084d830448592b0e (patch) | |
tree | 006a2950d3df631a42481fdcb911d7e8b54d6837 /sys/osxvideo/osxvideosink.h | |
parent | 5fd12e6daebda436c405f9c7d3cb7561b492e9ab (diff) | |
download | gst-plugins-bad-bd7b6fc51c1ba10d77780cc5084d830448592b0e.tar.gz gst-plugins-bad-bd7b6fc51c1ba10d77780cc5084d830448592b0e.tar.bz2 gst-plugins-bad-bd7b6fc51c1ba10d77780cc5084d830448592b0e.zip |
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.h | 21 |
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; |