Actions
Bug #5192
closedMKV built-in muxer creates a file with an empty Codec private data in video track
Bug #5192:
MKV built-in muxer creates a file with an empty Codec private data in video track
Start date:
2018-09-06
Due date:
% Done:
100%
Estimated time:
Found in version:
trunk
Affected Versions:
Description
Patch fixes this problem:
@ -101,7 +101,7
--- a/src/plumbing/globalheaders.c
+++ b/src/plumbing/globalheaders.c@
if(ssc->ssc_gh != NULL)
return;
.
- if(pkt->pkt_meta != NULL) {
+ if((pkt->pkt_meta != NULL) && ((SCT_ISVIDEO(pkt->pkt_type) && (pkt->v.pkt_frametype == PKT_I_FRAME)) || SCT_ISAUDIO(pkt->pkt_type))){
ssc->ssc_gh = pkt->pkt_meta;
pktbuf_ref_inc(ssc->ssc_gh);
return;
Files
Actions