-
-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Using rtspclientsink in a custom pipeline resulted in a hang in GstPipelineHandler::Stop(). The function would get called twice for the pipeline, and hang the second time through the call awaiting the READY to PAUSE state change.
Stack trace showed it down in gstrtspclientsink.c, waiting for a connection to be started again.
To fix, I added a single line after the mutex lock checking to see if the pipeline was already paused and not playing, and if so, don't do anymore state changes.
if (m_data->paused == true && m_data->playing == false) return;
Metadata
Metadata
Assignees
Labels
No labels