Aegisub/aegisub
Niels Martin Hansen ef4021f757 Make error handling in DSound2 audio player more robust. When an error happened in the playback thread, the error_happened flag was set, but was never cleared when the error was detected in the main thread. Furthermore, the main thread didn't act upon the error besides showing it, it kept acting as if the playback thread was still alive and playing, causing the error to be triggered continuously requiring you to kill Aegisub to get out.
Made the error_happened event reset itself after being checked so the check only succeeds the first time. (The playback thread returns from its threadproc upon error.) Mark playback thread as dead when error is detected, such that a new thread will be created next time playback is started, effectively making errors non-fatal.
Playback still works as expected, however I haven't tested what actually happens now when an error occurs.

Originally committed to SVN as r2968.
2009-05-22 01:41:31 +00:00
..
automation Fix #845 by counting how many output lines were produced by applying a template to a line, instead of assuming that a template always gets applied, even if it's a code template. 2009-05-14 15:34:37 +00:00
bin SVN Transition Step 3/7 2009-03-08 08:30:39 +00:00
build Split video backend and UI into separate groups in MSVC project file. 2009-05-16 12:46:22 +00:00
desktop SVN Transition Step 3/7 2009-03-08 08:30:39 +00:00
FFmpegSource2 FFMS2: More ICL warning inspired fixes 2009-05-21 10:39:14 +00:00
lib Update FFMS2 providers to account for FFMS2 API change in last commit. 2009-05-17 22:12:46 +00:00
libass Plug a bunch of memory leaks from uau in the mplayer2 repo: http://repo.or.cz/w/mplayer.git?a=commit;h=312d9e4b104741b834aa5d71b02228d0cd988a4e 2009-05-04 06:48:21 +00:00
m4macros Add a cross-compile condition to AC_RUN_IFELSE in AC_AGI_COMPILE to make cross-compiling work. 2009-04-21 22:32:07 +00:00
packages Remove outdated and unused Windows installer scripts. 2009-04-19 20:48:08 +00:00
po Update Japanese translation. 2009-05-17 15:17:52 +00:00
scripts Sigh, make gawk happy, I despise gawk someone please get rid of it forever. 2009-05-04 08:06:26 +00:00
src Make error handling in DSound2 audio player more robust. When an error happened in the playback thread, the error_happened flag was set, but was never cleared when the error was detected in the main thread. Furthermore, the main thread didn't act upon the error besides showing it, it kept acting as if the playback thread was still alive and playing, causing the error to be triggered continuously requiring you to kill Aegisub to get out. 2009-05-22 01:41:31 +00:00
tinderbox Add an sh script to generate snap tarballs upon successful builds of UNIX platforms (excluding Darwin). 2009-05-01 03:58:23 +00:00
universalchardet No longer support anything for Windows-builds but Visual Studio 2008/VC9. 2009-04-17 22:08:37 +00:00
acinclude.m4 SVN Transition Step 3/7 2009-03-08 08:30:39 +00:00
autogen.sh Add a command to autogen --skip-configure to allow the autogen/configure steps 2009-04-20 02:45:35 +00:00
configure.in * Re-format the arch detection case. 2009-04-29 00:49:38 +00:00
INSTALL SVN Transition Step 3/7 2009-03-08 08:30:39 +00:00
Makefile.am * Add support in configure.in to detect the arch. 2009-04-28 23:25:42 +00:00
README SVN Transition Step 3/7 2009-03-08 08:30:39 +00:00

* To be written.