mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
Also mark packets as being freeable when P frames are encountered but use the frame they reference for freeing. Allows for better handling of sections with few/no key frames.
This commit is contained in:
parent
c26dda5b04
commit
0f9cd0b2a7
@ -1,3 +1,8 @@
|
|||||||
|
2004-01-31 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
|
* mkvmerge: Improved some internal memory freeing decisions. This
|
||||||
|
should help with files/sections in which are only few keyframes.
|
||||||
|
|
||||||
2004-01-30 Moritz Bunkus <moritz@bunkus.org>
|
2004-01-30 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
* mkvmerge: Changed the two-pass splitting into a one-pass
|
* mkvmerge: Changed the two-pass splitting into a one-pass
|
||||||
|
@ -490,6 +490,10 @@ int cluster_helper_c::render() {
|
|||||||
timecode_offset),
|
timecode_offset),
|
||||||
*data_buffer, *bref_packet->group,
|
*data_buffer, *bref_packet->group,
|
||||||
lacing_type);
|
lacing_type);
|
||||||
|
|
||||||
|
// All packets with an ID smaller than the referenced packet's ID
|
||||||
|
// are not needed anymore. Be happy!
|
||||||
|
free_ref(pack->bref, pack->source);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else { // This is a key frame. No references.
|
} else { // This is a key frame. No references.
|
||||||
|
Loading…
Reference in New Issue
Block a user