GNOME Bugzilla – Bug 658178
udpsrc: rough error reporting when using an invalid URI
Last modified: 2011-09-19 08:17:00 UTC
Will fix next week, I guess. $ gst-launch-0.10 udpsrc uri=127.0.0.1:65500 (gst-launch-0.10:24952): GStreamer-CRITICAL **: gst_uri_get_protocol: assertion `gst_uri_is_valid (uri)' failed Caught SIGSEGV accessing address (nil)
+ Trace 228329
Created attachment 195673 [details] [review] udpsrc: consider no protocol to be udp:// It is certainly better than to crash, though a case could be made for erroring out instead.
It shouldn't accept URIs without protocol at all because they're not valid URIs
Created attachment 195678 [details] [review] udpsrc: error out when no protocol is specified in the uri It is certainly better than to crash.
The case was very easy to make indeed :) Done.
commit 3319737e5c1e9b7e9347e3468ed5ecdcb7d3553d Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> Date: Mon Sep 5 10:11:18 2011 +0100 udpsrc: error out when no protocol is specified in the uri It is certainly better than to crash. https://bugzilla.gnome.org/show_bug.cgi?id=658178