rtpgstdepay: do not warn when caps were not yet received
authorMathieu Duponchelle <mathieu@centricular.com>
Sat, 24 Feb 2018 19:05:05 +0000 (20:05 +0100)
committerMathieu Duponchelle <mathieu@centricular.com>
Sat, 24 Feb 2018 19:06:54 +0000 (20:06 +0100)
It is expected that when connecting to a stream that has
already started, the caps will only arrive at the interval
specified on rtpgstpay, we shouldn't be warning as this is
a normal mode of operation.

https://bugzilla.gnome.org/show_bug.cgi?id=793798

gst/rtp/gstrtpgstdepay.c

index 7d05742..39028c9 100644 (file)
@@ -556,8 +556,7 @@ no_event:
   }
 missing_caps:
   {
-    GST_ELEMENT_WARNING (rtpgstdepay, STREAM, DECODE,
-        ("Missing caps %u.", CV), (NULL));
+    GST_INFO_OBJECT (rtpgstdepay, "No caps received yet %u", CV);
     gst_buffer_unref (outbuf);
     return NULL;
   }