vidify / old-audiosync

First implementation of the audio synchronization feature for Vidify, now obsolete
GNU Lesser General Public License v3.0
17 stars 3 forks source link

Notifying main thread when something goes wrong from the other threads #7

Closed marioortizmanero closed 4 years ago

marioortizmanero commented 4 years ago

Currently if there's an error in either the download or the capture threads and they exit, the main thread will unknowingly continue its execution. This may block the function call forever, or unnecessarily continue running.

This could be done by setting its own end field to 1, but I'm not sure if it's the best way to do it.