mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
gst-libs/gst/app/: Make debug categories static. Use _element_class_set_details_simple().
Original commit message from CVS: * gst-libs/gst/app/gstappsink.c: * gst-libs/gst/app/gstappsink.h: * gst-libs/gst/app/gstappsrc.c: * gst-libs/gst/app/gstappsrc.h: Make debug categories static. Use _element_class_set_details_simple().
This commit is contained in:
parent
d2b82026c8
commit
ada70bb159
5 changed files with 20 additions and 23 deletions
16
ChangeLog
16
ChangeLog
|
@ -1,3 +1,11 @@
|
|||
2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||
|
||||
* gst-libs/gst/app/gstappsink.c:
|
||||
* gst-libs/gst/app/gstappsink.h:
|
||||
* gst-libs/gst/app/gstappsrc.c:
|
||||
* gst-libs/gst/app/gstappsrc.h:
|
||||
Make debug categories static. Use _element_class_set_details_simple().
|
||||
|
||||
2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||
|
||||
* gst-libs/gst/app/gstappsink.c: (_GstAppSinkPrivate),
|
||||
|
@ -12,8 +20,8 @@
|
|||
(gst_app_sink_get_emit_signals), (gst_app_sink_set_max_buffers),
|
||||
(gst_app_sink_get_max_buffers), (gst_app_sink_set_drop),
|
||||
(gst_app_sink_get_drop), (gst_app_sink_pull_preroll),
|
||||
(gst_app_sink_pull_buffer)::
|
||||
* gst-libs/gst/app/gstappsink.h: (GstAppSinkPrivate), (_GstAppSink)::
|
||||
(gst_app_sink_pull_buffer):
|
||||
* gst-libs/gst/app/gstappsink.h: (GstAppSinkPrivate), (_GstAppSink):
|
||||
* gst-libs/gst/app/gstappsrc.c: (_GstAppSrcPrivate),
|
||||
(gst_app_src_class_init), (gst_app_src_init),
|
||||
(gst_app_src_flush_queued), (gst_app_src_dispose),
|
||||
|
@ -28,8 +36,8 @@
|
|||
(gst_app_src_set_max_bytes), (gst_app_src_get_max_bytes),
|
||||
(gst_app_src_set_latencies), (gst_app_src_set_latency),
|
||||
(gst_app_src_get_latency), (gst_app_src_push_buffer_full),
|
||||
(gst_app_src_push_buffer_action), (gst_app_src_end_of_stream)::
|
||||
* gst-libs/gst/app/gstappsrc.h: (GstAppSrcPrivate)::
|
||||
(gst_app_src_push_buffer_action), (gst_app_src_end_of_stream):
|
||||
* gst-libs/gst/app/gstappsrc.h: (GstAppSrcPrivate):
|
||||
Move private data into a private instance struct. Add padding to
|
||||
instance and class structures exposed in public headers. Add
|
||||
Since markers to the gtk-doc blurbs (#566750).
|
||||
|
|
|
@ -105,15 +105,9 @@ struct _GstAppSinkPrivate
|
|||
gboolean is_eos;
|
||||
};
|
||||
|
||||
GST_DEBUG_CATEGORY (app_sink_debug);
|
||||
GST_DEBUG_CATEGORY_STATIC (app_sink_debug);
|
||||
#define GST_CAT_DEFAULT app_sink_debug
|
||||
|
||||
static const GstElementDetails app_sink_details =
|
||||
GST_ELEMENT_DETAILS ("AppSink",
|
||||
"Generic/Sink",
|
||||
"Allow the application to get access to raw buffer",
|
||||
"David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com>");
|
||||
|
||||
enum
|
||||
{
|
||||
/* signals */
|
||||
|
@ -212,7 +206,9 @@ gst_app_sink_base_init (gpointer g_class)
|
|||
|
||||
GST_DEBUG_CATEGORY_INIT (app_sink_debug, "appsink", 0, "appsink element");
|
||||
|
||||
gst_element_class_set_details (element_class, &app_sink_details);
|
||||
gst_element_class_set_details_simple (element_class, "AppSink",
|
||||
"Generic/Sink", "Allow the application to get access to raw buffer",
|
||||
"David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_app_sink_template));
|
||||
|
|
|
@ -70,8 +70,6 @@ struct _GstAppSinkClass
|
|||
|
||||
GType gst_app_sink_get_type(void);
|
||||
|
||||
GST_DEBUG_CATEGORY_EXTERN (app_sink_debug);
|
||||
|
||||
void gst_app_sink_set_caps (GstAppSink *appsink, const GstCaps *caps);
|
||||
GstCaps * gst_app_sink_get_caps (GstAppSink *appsink);
|
||||
|
||||
|
|
|
@ -138,14 +138,9 @@ struct _GstAppSrcPrivate
|
|||
guint64 max_latency;
|
||||
};
|
||||
|
||||
GST_DEBUG_CATEGORY (app_src_debug);
|
||||
GST_DEBUG_CATEGORY_STATIC (app_src_debug);
|
||||
#define GST_CAT_DEFAULT app_src_debug
|
||||
|
||||
static const GstElementDetails app_src_details = GST_ELEMENT_DETAILS ("AppSrc",
|
||||
"Generic/Src",
|
||||
"Allow the application to feed buffers to a pipeline",
|
||||
"David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com>");
|
||||
|
||||
enum
|
||||
{
|
||||
/* signals */
|
||||
|
@ -262,7 +257,9 @@ gst_app_src_base_init (gpointer g_class)
|
|||
|
||||
GST_DEBUG_CATEGORY_INIT (app_src_debug, "appsrc", 0, "appsrc element");
|
||||
|
||||
gst_element_class_set_details (element_class, &app_src_details);
|
||||
gst_element_class_set_details_simple (element_class, "AppSrc",
|
||||
"Generic/Src", "Allow the application to feed buffers to a pipeline",
|
||||
"David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_app_src_template));
|
||||
|
|
|
@ -88,8 +88,6 @@ struct _GstAppSrcClass
|
|||
|
||||
GType gst_app_src_get_type(void);
|
||||
|
||||
GST_DEBUG_CATEGORY_EXTERN (app_src_debug);
|
||||
|
||||
void gst_app_src_set_caps (GstAppSrc *appsrc, const GstCaps *caps);
|
||||
GstCaps* gst_app_src_get_caps (GstAppSrc *appsrc);
|
||||
|
||||
|
|
Loading…
Reference in a new issue