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++.
Loading
Please register or sign in to comment