never hurts to make sure
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 12 Dec 2002 13:56:46 +0000 (13:56 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 12 Dec 2002 13:56:46 +0000 (13:56 +0000)
Original commit message from CVS:
never hurts to make sure

ext/mad/gstmad.c

index f8fe497..2b50b8e 100644 (file)
@@ -1000,6 +1000,7 @@ gst_mad_chain (GstPad *pad, GstBuffer *buffer)
   gboolean new_pts = FALSE;
 
   mad = GST_MAD (gst_pad_get_parent (pad));
+  g_assert (GST_IS_MAD (mad));
 
   /* handle events */
   if (GST_IS_EVENT (buffer))