Skip to content
Snippets Groups Projects
Commit 6f9d37f0 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

sout: sdi: replace the thread cleanup calls by a canceled boolean

mutex_cleanup_push() and vlc_cleanup_pop() are not available in C++.
All we want is to tell the feeder thread to exit when it's idle.

The condition will be triggered when:
* a frame has completed
* the maxdelay to wait before scheduling a new frame has been reached
* the local thread cancel has been requested

We no longer use the cancellation API which is not available in C++.
parent 65dfe0cd
No related branches found
No related tags found
Loading
Pipeline #138126 passed with stage
in 15 minutes and 18 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment