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),
(gst_app_sink_class_init), (gst_app_sink_init),
(gst_app_sink_dispose), (gst_app_sink_finalize),
(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),
(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).
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 */
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));
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);
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 */
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));
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);