diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2006-01-09 18:20:56 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2006-01-09 18:20:56 +0000 |
commit | a438034608c14b446943fcc0fbb0fa04df93aa47 (patch) | |
tree | 765d96dbb8f9f3711cae0183c945612f09a84071 /ext/sdl/sdlvideosink.c | |
parent | ce77e3b44bc291c54039918f2136dff8b44a4c9f (diff) | |
download | gst-plugins-bad-a438034608c14b446943fcc0fbb0fa04df93aa47.tar.gz gst-plugins-bad-a438034608c14b446943fcc0fbb0fa04df93aa47.tar.bz2 gst-plugins-bad-a438034608c14b446943fcc0fbb0fa04df93aa47.zip |
Created new element, sdlaudiosink.
Original commit message from CVS:
Created new element, sdlaudiosink.
Diffstat (limited to 'ext/sdl/sdlvideosink.c')
-rw-r--r-- | ext/sdl/sdlvideosink.c | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c index 4f99835d..6d4688fb 100644 --- a/ext/sdl/sdlvideosink.c +++ b/ext/sdl/sdlvideosink.c @@ -32,8 +32,8 @@ #include "sdlvideosink.h" -GST_DEBUG_CATEGORY_STATIC (sdlvideosink_debug); -#define GST_CAT_DEFAULT sdlvideosink_debug +GST_DEBUG_CATEGORY_EXTERN (sdl_debug); +#define GST_CAT_DEFAULT sdl_debug /* These macros are adapted from videotestsrc.c * and/or gst-plugins/gst/games/gstvideoimage.c */ @@ -173,8 +173,6 @@ gst_sdlvideosink_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, sink_template); gst_element_class_set_details (element_class, &gst_sdlvideosink_details); - GST_DEBUG_CATEGORY_INIT (sdlvideosink_debug, "sdlvideosink", 0, - "SDL video sink element"); } static void @@ -844,19 +842,3 @@ init_failed: return GST_STATE_CHANGE_FAILURE; } } - - -static gboolean -plugin_init (GstPlugin * plugin) -{ - if (!gst_element_register (plugin, "sdlvideosink", GST_RANK_NONE, - GST_TYPE_SDLVIDEOSINK)) - return FALSE; - - return TRUE; -} - -GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, - GST_VERSION_MINOR, - "sdlvideosink", - "SDL Video Sink", plugin_init, VERSION, "LGPL", GST_PACKAGE, GST_ORIGIN) |