rtsp: fix for flush_stop API change
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 13 Jun 2011 15:14:51 +0000 (17:14 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 13 Jun 2011 15:14:51 +0000 (17:14 +0200)
gst/rtsp/gstrtspsrc.c

index 8196f95..1e283f6 100644 (file)
@@ -1643,7 +1643,7 @@ gst_rtspsrc_flush (GstRTSPSrc * src, gboolean flush)
     cmd = CMD_WAIT;
     state = GST_STATE_PAUSED;
   } else {
-    event = gst_event_new_flush_stop ();
+    event = gst_event_new_flush_stop (TRUE);
     GST_DEBUG_OBJECT (src, "stop flush");
     cmd = CMD_LOOP;
     state = GST_STATE_PLAYING;