rtspsrc: pause the task instead of spinning
Actually pause the loop task instead of spinning forever.
This commit is contained in:
parent
fe9fb8d8a7
commit
5d0507c09e
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user