diff options
-rw-r--r-- | gst/gstmessage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/gstmessage.c b/gst/gstmessage.c index 5e530b7e5..066635d44 100644 --- a/gst/gstmessage.c +++ b/gst/gstmessage.c @@ -1060,6 +1060,7 @@ void gst_message_set_buffering_stats (GstMessage * message, GstBufferingMode mode, gint avg_in, gint avg_out, gint64 buffering_left) { + g_return_if_fail (GST_IS_MESSAGE (message)); g_return_if_fail (GST_MESSAGE_TYPE (message) == GST_MESSAGE_BUFFERING); gst_structure_id_set (GST_MESSAGE_STRUCTURE (message), |