diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-11-22 11:34:31 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-11-24 14:33:26 +0000 |
commit | 91c880067012f26791bb6f86c2ea596a6df01bc6 (patch) | |
tree | 5f185f6e548d5697f78e2e6cddcfe45b094034aa | |
parent | 140a352479255365eee9fcac4c1ef99aa73cdcc5 (diff) |
rtspsrc: pause the task instead of spinning
Actually pause the loop task instead of spinning forever.
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index d9a0e7be7..7210ac872 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -4201,6 +4201,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; } } |