gst/gstmessage.c: Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
authorTim-Philipp Müller <tim@centricular.net>
Thu, 17 Nov 2005 09:37:55 +0000 (09:37 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 17 Nov 2005 09:37:55 +0000 (09:37 +0000)
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/gstmessage.c: (gst_message_parse_clock_lost):
Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
* gst/gstpadtemplate.h:
* gst/gstpluginfeature.h:
Don't use c++ style comments in headers (#321638).

ChangeLog
gst/gstmessage.c
gst/gstpadtemplate.h
gst/gstpluginfeature.h

index 951d2d2..8a067ce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
+
+       Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/gstmessage.c: (gst_message_parse_clock_lost):
+         Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
+
+       * gst/gstpadtemplate.h:
+       * gst/gstpluginfeature.h:
+         Don't use c++ style comments in headers (#321638).
+
 2005-11-16  Andy Wingo  <wingo@pobox.com>
 
        * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
index 0877c8b..0c87af0 100644 (file)
@@ -770,7 +770,7 @@ gst_message_parse_clock_lost (GstMessage * message, GstClock ** clock)
   const GValue *clock_gvalue;
 
   g_return_if_fail (GST_IS_MESSAGE (message));
-  g_return_if_fail (GST_MESSAGE_TYPE (message) == GST_MESSAGE_NEW_CLOCK);
+  g_return_if_fail (GST_MESSAGE_TYPE (message) == GST_MESSAGE_CLOCK_LOST);
 
   clock_gvalue = gst_structure_get_value (message->structure, "clock");
   g_return_if_fail (clock_gvalue != NULL);
index f03d636..d4c9d49 100644 (file)
@@ -36,7 +36,7 @@
 G_BEGIN_DECLS
 
 /* FIXME: this awful circular dependency need to be resolved properly (see pad.h) */
-//typedef struct _GstPadTemplate GstPadTemplate;
+/*typedef struct _GstPadTemplate GstPadTemplate; */
 typedef struct _GstPadTemplateClass GstPadTemplateClass;
 typedef struct _GstStaticPadTemplate GstStaticPadTemplate;
 
index d3c339f..dfc6143 100644 (file)
@@ -77,7 +77,7 @@ struct _GstPluginFeature {
   gchar        *name;
   guint         rank;
 
-  //struct _GstPlugin     *plugin;
+  /* struct _GstPlugin     *plugin; */
   gchar *plugin_name;
 
   /*< private >*/