mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +00:00
0 means no duration which is the case for Real Media files. -1 means calculate the duration from the FPS which RM files do not really have.
This commit is contained in:
parent
826a119363
commit
9cbc0f4e56
@ -1,3 +1,8 @@
|
||||
2005-09-15 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: Appending files with RealVideo was
|
||||
broken.
|
||||
|
||||
2005-09-09 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge, mkvextract: bug fix: ASS files sometimes use a column
|
||||
|
@ -688,7 +688,7 @@ real_reader_c::assemble_video_packet(real_demuxer_t *dmx,
|
||||
set_dimensions(dmx, assembled->data, assembled->size);
|
||||
packet_t *packet =
|
||||
new packet_t(new memory_c(assembled->data, assembled->size, true),
|
||||
(int64_t)assembled->timecode * 1000000, -1,
|
||||
(int64_t)assembled->timecode * 1000000, 0,
|
||||
(assembled->flags & RMFF_FRAME_FLAG_KEYFRAME) ==
|
||||
RMFF_FRAME_FLAG_KEYFRAME ? VFT_IFRAME :
|
||||
VFT_PFRAMEAUTOMATIC, VFT_NOBFRAME);
|
||||
|
Loading…
Reference in New Issue
Block a user