quartz Rewrite the avi splitter so that video and sound run in separate threads, with tests

Alexandre Julliard julliard at winehq.org
Thu Jun 26 05:49:00 CDT 2008


"Maarten Lankhorst" <m.b.lankhorst at gmail.com> writes:

> +        FIXME("Waiting for %u to terminate\n", x);
> +        /* Make the thread return first */
> +        SetEvent(stream->packet_queued);
> +        if (WaitForSingleObject(stream->thread, 10000) == WAIT_TIMEOUT)
> +            exit(1);

Don't use exit(). If you absolutely need to kill the whole process you
should use ExitProcess, and you have to print an error so that users
know what happened. But I doubt you need such a drastic action here.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list