mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
Flush the packetizers!
This commit is contained in:
parent
ee0ffc1b87
commit
2f9f2801e7
@ -1769,8 +1769,10 @@ kax_reader_c::read(generic_packetizer_c *,
|
|||||||
|
|
||||||
l0 = segment;
|
l0 = segment;
|
||||||
|
|
||||||
if (saved_l1 == NULL) // We're done.
|
if (saved_l1 == NULL) { // We're done.
|
||||||
|
flush_packetizers();
|
||||||
return FILE_STATUS_DONE;
|
return FILE_STATUS_DONE;
|
||||||
|
}
|
||||||
|
|
||||||
if (!force && (get_queued_bytes() > 20 * 1024 * 1024))
|
if (!force && (get_queued_bytes() > 20 * 1024 * 1024))
|
||||||
return FILE_STATUS_HOLDING;
|
return FILE_STATUS_HOLDING;
|
||||||
|
Loading…
Reference in New Issue
Block a user