rtsp: clear the GError for pending connect
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 18 May 2012 07:18:29 +0000 (09:18 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 18 May 2012 07:47:26 +0000 (09:47 +0200)
commit2cd15bbef8ae52be6bb0e84dcdad573f78ee847e
treef99fdfa57c24728866b63e38ca1d8ff0884168f6
parent892cefe65103ed9b724262d44f986cd59f5741c6
rtsp: clear the GError for pending connect

Clear the GError after g_socket_connect tells us that the connection is pending.
If we don't do this, glib complains when we try to reuse the non-NULL GError
variable a little below.
gst-libs/gst/rtsp/gstrtspconnection.c