rtmp2: Segfaults on location typo
i accidentally had typed two =
symbols between the location property and the URI
gst-launch-1.0 videotestsrc ! video/x-raw, width=1920, height=1080 ! x264enc ! m. audiotestsrc wave=pink-noise ! faac ! flvmux name=m ! rtmp2sink location==rtmp://bla
which causes rtmp2sink to segfault
(gst-launch-1.0:2041285): GStreamer-CRITICAL **: 08:29:31.986: gst_uri_handler_set_uri: assertion 'gst_uri_is_valid (uri)' failed
Caught SIGSEGV
#0 0x00007f86ba88abfa in wait4 () at /usr/lib/libc.so.6
#1 0x00007f86baa1db84 in g_on_error_stack_trace ()
#2 0x0000561d828962eb in fault_spin ()
#3 fault_handler_sighandler (signum=11)
#4 0x00007f86ba99b960 in <signal handler called> ()
#5 0x00007f86b975dcf1 in gst_rtmp_location_handler_set_uri
#6 0x00007f86ba9c45cf in () at /usr/lib/libgobject-2.0.so.0
#7 0x00007f86ba9cbc4c in g_object_setv () at /usr/lib/libgobject-2.0.so.0
#8 0x00007f86ba9cbd1c in g_object_set_property ()
#9 0x00007f86babbbf1b in gst_parse_element_set
#10 0x00007f86babbd935 in priv_gst_parse_yyparse
#11 0x00007f86babbec91 in priv_gst_parse_launch
#12 0x00007f86bac64344 in gst_parse_launch_full
#13 0x00007f86bac645e1 in gst_parse_launchv_full
#14 0x0000561d82894cde in main (argc=<optimized out>, argv=<optimized out>)
will probably come up with a fix later, i'm just reporting this so that i don't forget about it