Commit 20dafa2d authored by aurel's avatar aurel

matroskaenc: use correct EBML ID for block duration

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15560 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 476c3c02
......@@ -778,7 +778,7 @@ static int mkv_write_packet(AVFormatContext *s, AVPacket *pkt)
ebml_master blockgroup = start_ebml_master(pb, MATROSKA_ID_BLOCKGROUP, mkv_blockgroup_size(pkt->size));
duration = pkt->convergence_duration;
mkv_write_block(s, MATROSKA_ID_BLOCK, pkt, 0);
put_ebml_uint(pb, MATROSKA_ID_DURATION, duration);
put_ebml_uint(pb, MATROSKA_ID_BLOCKDURATION, duration);
end_ebml_master(pb, blockgroup);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment