diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-05-01 01:59:56 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-05-01 14:28:42 +0100 |
commit | e101037589eae4e45ee9084d7f48c2685b804ef8 (patch) | |
tree | cbeac59a3640f7976e583a5d3e77607ba7141514 /gst/debugutils/fpsdisplaysink.c | |
parent | fab334001884d57fcba3142b3920c9966060ae97 (diff) | |
download | gst-plugins-bad-e101037589eae4e45ee9084d7f48c2685b804ef8.tar.gz gst-plugins-bad-e101037589eae4e45ee9084d7f48c2685b804ef8.tar.bz2 gst-plugins-bad-e101037589eae4e45ee9084d7f48c2685b804ef8.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) |