mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-27 12:37:01 +00:00
Make RealAudio P frames reference the previous I or P frame, not the previous I frame.
This commit is contained in:
parent
a33c7c7426
commit
92213609d7
@ -608,11 +608,11 @@ int real_reader_c::read(generic_packetizer_c *) {
|
||||
dmx->c_keyframe ? -1 : dmx->c_reftimecode);
|
||||
dmx->c_data = chunk;
|
||||
dmx->c_len = length;
|
||||
dmx->c_reftimecode = dmx->c_timecode;
|
||||
dmx->c_timecode = timecode;
|
||||
if ((flags & 2) == 2) {
|
||||
if ((flags & 2) == 2)
|
||||
dmx->c_keyframe = true;
|
||||
dmx->c_reftimecode = timecode;
|
||||
} else
|
||||
else
|
||||
dmx->c_keyframe = false;
|
||||
dmx->c_numpackets++;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user