From 5d0507c09e8c19a01ba59476bd16cff7ec1b2006 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 22 Nov 2012 11:34:31 +0100 Subject: [PATCH] rtspsrc: pause the task instead of spinning Actually pause the loop task instead of spinning forever. --- gst/rtsp/gstrtspsrc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 07588c1..71262fc 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -4218,6 +4218,7 @@ pause: ("streaming task paused, reason %s (%d)", reason, ret)); gst_rtspsrc_push_event (src, gst_event_new_eos ()); } + gst_rtspsrc_loop_send_cmd (src, CMD_WAIT, CMD_LOOP); return FALSE; } } -- 2.7.4