rtspsrc: pause the task instead of spinning

Actually pause the loop task instead of spinning forever.
This commit is contained in:
Wim Taymans 2012-11-22 11:34:31 +01:00
parent fe9fb8d8a7
commit 5d0507c09e

View file

@ -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;
}
}