gst/gstmessage.c: Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).

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).
This commit is contained in:
Tim-Philipp Müller 2005-11-17 09:37:55 +00:00
parent b6db554627
commit 3278ca54a7
4 changed files with 14 additions and 3 deletions

View file

@ -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> 2005-11-16 Andy Wingo <wingo@pobox.com>
* gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free

View file

@ -770,7 +770,7 @@ gst_message_parse_clock_lost (GstMessage * message, GstClock ** clock)
const GValue *clock_gvalue; const GValue *clock_gvalue;
g_return_if_fail (GST_IS_MESSAGE (message)); 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"); clock_gvalue = gst_structure_get_value (message->structure, "clock");
g_return_if_fail (clock_gvalue != NULL); g_return_if_fail (clock_gvalue != NULL);

View file

@ -36,7 +36,7 @@
G_BEGIN_DECLS G_BEGIN_DECLS
/* FIXME: this awful circular dependency need to be resolved properly (see pad.h) */ /* 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 _GstPadTemplateClass GstPadTemplateClass;
typedef struct _GstStaticPadTemplate GstStaticPadTemplate; typedef struct _GstStaticPadTemplate GstStaticPadTemplate;

View file

@ -77,7 +77,7 @@ struct _GstPluginFeature {
gchar *name; gchar *name;
guint rank; guint rank;
//struct _GstPlugin *plugin; /* struct _GstPlugin *plugin; */
gchar *plugin_name; gchar *plugin_name;
/*< private >*/ /*< private >*/