pad-monitor: fix NULL format string
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 30 Jul 2013 16:17:48 +0000 (12:17 -0400)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 30 Jul 2013 16:55:14 +0000 (13:55 -0300)
An empty message should be an empty string.

validate/gst/qa/gst-qa-pad-monitor.c

index e29b298..71004d4 100644 (file)
@@ -1041,7 +1041,7 @@ gst_qa_pad_monitor_add_expected_newsegment (GstQaPadMonitor * monitor,
         GST_QA_MONITOR_LOCK (othermonitor);
         if (othermonitor->expected_segment) {
           GST_QA_REPORT (othermonitor,
-              GST_QA_ISSUE_ID_EVENT_NEWSEGMENT_NOT_PUSHED, NULL);
+              GST_QA_ISSUE_ID_EVENT_NEWSEGMENT_NOT_PUSHED, "");
           gst_event_unref (othermonitor->expected_segment);
         }
         othermonitor->expected_segment = gst_event_ref (event);