tpm gst-plugins-base: gst-plugins-base/ gst-plugins-base/gst-libs/gst/app/

[email protected] Tue, 6 Jan 2009 03:10:44 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
--===============8044899449432492847==

CVS Root:       /cvs/gstreamer
Module:         gst-plugins-base
Changes by:     tpm
Date:           Tue Jan 06 2009  11:10:44 UTC

Log message:
	* 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().

Modified files:
    .               : ChangeLog
    gst-libs/gst/app: gstappsink.c gstappsink.h gstappsrc.c
                      gstappsrc.h

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ChangeLog.diff?r1=1.4275&r2=1.4276
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/gst-libs/gst/app/gstappsink.c.diff?r1=1.17&r2=1.18
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/gst-libs/gst/app/gstappsink.h.diff?r1=1.6&r2=1.7
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/gst-libs/gst/app/gstappsrc.c.diff?r1=1.17&r2=1.18
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/gst-libs/gst/app/gstappsrc.h.diff?r1=1.9&r2=1.10

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/ChangeLog,v
retrieving revision 1.4275
retrieving revision 1.4276
diff -u -d -r1.4275 -r1.4276
--- ChangeLog	6 Jan 2009 10:56:43 -0000	1.4275
+++ ChangeLog	6 Jan 2009 11:10:28 -0000	1.4276
@@ -1,5 +1,13 @@
 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),
@@ -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).
Index: gstappsink.c
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/app/gstappsink.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- gstappsink.c	6 Jan 2009 10:56:44 -0000	1.17
+++ gstappsink.c	6 Jan 2009 11:10:29 -0000	1.18
@@ -105,15 +105,9 @@
   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 <[email protected]>, Wim Taymans <[email protected]>");
-
 enum
 {
   /* signals */
@@ -212,7 +206,9 @@
   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 <[email protected]>, Wim Taymans <[email protected]>");
   gst_element_class_add_pad_template (element_class,
       gst_static_pad_template_get (&gst_app_sink_template));
Index: gstappsink.h
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/app/gstappsink.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- gstappsink.h	6 Jan 2009 10:56:45 -0000	1.6
+++ gstappsink.h	6 Jan 2009 11:10:29 -0000	1.7
@@ -70,8 +70,6 @@
 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);
Index: gstappsrc.c
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/app/gstappsrc.c,v
--- gstappsrc.c	6 Jan 2009 10:56:45 -0000	1.17
+++ gstappsrc.c	6 Jan 2009 11:10:29 -0000	1.18
@@ -138,14 +138,9 @@
   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",
@@ -262,7 +257,9 @@
   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",
       gst_static_pad_template_get (&gst_app_src_template));
Index: gstappsrc.h
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/app/gstappsrc.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- gstappsrc.h	6 Jan 2009 10:56:45 -0000	1.9
+++ gstappsrc.h	6 Jan 2009 11:10:29 -0000	1.10
@@ -88,8 +88,6 @@
 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);


--===============8044899449432492847==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============8044899449432492847==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gstreamer-cvs-verbose mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose

--===============8044899449432492847==--