rtspsrc: handle data message when waiting for reply
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 26 Jun 2013 12:41:00 +0000 (14:41 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 26 Jun 2013 12:41:36 +0000 (14:41 +0200)
When we are waiting for a server reply, handle data messages instead of
ignoring them.

gst/rtsp/gstrtspsrc.c

index 8a9703b..8e301e3 100644 (file)
@@ -4787,7 +4787,8 @@ next:
       break;
     case GST_RTSP_MESSAGE_DATA:
       /* get next response */
-      GST_DEBUG_OBJECT (src, "ignoring data response message");
+      GST_DEBUG_OBJECT (src, "handle data response message");
+      gst_rtspsrc_handle_data (src, response);
       goto next;
     default:
       GST_WARNING_OBJECT (src, "ignoring unknown message type %d",