diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-05-01 01:59:56 +0100 |
---|---|---|
committer | Dave Robillard <dave@drobilla.net> | 2009-05-03 12:03:20 -0400 |
commit | 04822d1b13595f196d27af3a49960a77eae6e608 (patch) | |
tree | d48408a56093d166896799229666b6d8ac52d01c /gst/debugutils/fpsdisplaysink.c | |
parent | d810923e137edfe353285fa5b64e7e241d339b9f (diff) | |
download | gst-plugins-bad-04822d1b13595f196d27af3a49960a77eae6e608.tar.gz gst-plugins-bad-04822d1b13595f196d27af3a49960a77eae6e608.tar.bz2 gst-plugins-bad-04822d1b13595f196d27af3a49960a77eae6e608.zip |
fpsdisplaysink: rename plugin (not element) to debugutilsbad
Makes it easier to add further utils here without creating yet another plugin.
Diffstat (limited to 'gst/debugutils/fpsdisplaysink.c')
-rw-r--r-- | gst/debugutils/fpsdisplaysink.c | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/gst/debugutils/fpsdisplaysink.c b/gst/debugutils/fpsdisplaysink.c index d22dfad3..4873e98b 100644 --- a/gst/debugutils/fpsdisplaysink.c +++ b/gst/debugutils/fpsdisplaysink.c @@ -452,23 +452,10 @@ fps_display_sink_get_type (void) fps_display_sink_type = g_type_register_static (GST_TYPE_BIN, "FPSDisplaySink", &fps_display_sink_info, 0); + + GST_DEBUG_CATEGORY_INIT (fps_display_sink_debug, "fpsdisplaysink", 0, + "FPS Display Sink"); } return fps_display_sink_type; } - -static gboolean -plugin_init (GstPlugin * plugin) -{ - GST_DEBUG_CATEGORY_INIT (fps_display_sink_debug, "fpsdisplaysink", 0, - "FPS Display Sink"); - - return gst_element_register (plugin, "fpsdisplaysink", - GST_RANK_NONE, FPS_TYPE_DISPLAY_SINK); -} - -GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, - GST_VERSION_MINOR, - "fpsdisplaysink", - "A custom sink that show the current FPS of the sink on the video screen", - plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN) |