[PATCH 4/7] quartz: Make sure all pending samples are freed when a sample is rejected in PullPin::Thread::Process.

Erich Hoover ehoover at mines.edu
Sat May 14 12:43:42 CDT 2011


Real Name:
    Erich Hoover
Description:
    This particular patch modifies the behavior of PullPin::Thread::Process
so that when the processing loop is aborted the routine frees all the
pending samples from the filter.  Without this patch then filters using
greater than one buffer (such as the one used by Fallout 3 and Fallout New
Vegas) will have samples queued when the stream is being closed, resulting
in an assertion in PullPin::Flush.  This patch is somewhat inspired by the
work of Eduard - Gabriel Munteanu's, originally submitted here:
http://www.winehq.org/pipermail/wine-patches/2009-August/077769.html
ChangeLog:
    quartz: Make sure all pending samples are freed when a sample is
rejected in PullPin::Thread::Process.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110514/ab7102d2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-quartz-Make-sure-all-pending-samples-are-freed-when-.patch
Type: text/x-patch
Size: 1469 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110514/ab7102d2/attachment.bin>


More information about the wine-patches mailing list