Changeset 1356204


Ignore:
Timestamp:
10/03/10 17:10:49 (6 years ago)
Author:
jstebbins <jstebbins.hb@…>
Branches:
master
Children:
24e8e89
Parents:
2234c26
Message:

fix another hang in the muxer.

If all streams are at EOF, then we must continue processing
the track queues till they are all empty.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3564 b64f7644-9d1e-0410-96f1-a4d463321fa5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libhb/muxcommon.c

    rc1a8212 r1356204  
    248248    // all tracks have at least 'interleave' ticks of data. Output
    249249    // all that we can in 'interleave' size chunks.
    250     while ( ( mux->rdy & mux->allRdy ) == mux->allRdy && more )
     250    while ( (( mux->rdy & mux->allRdy ) == mux->allRdy && more) ||
     251            ( mux->eof == mux->allEof ) )
    251252    {
    252253        more = 0;
Note: See TracChangeset for help on using the changeset viewer.