From d36111d9f9afe50ee8fbd0c02f9e9256885e26dd Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sat, 16 Apr 2022 01:18:34 +0200 Subject: [PATCH] Set keyframe flag on audio samples. --- diskwriter/diskwriter.go | 1 + 1 file changed, 1 insertion(+) diff --git a/diskwriter/diskwriter.go b/diskwriter/diskwriter.go index 7b068dc..0aee424 100644 --- a/diskwriter/diskwriter.go +++ b/diskwriter/diskwriter.go @@ -523,6 +523,7 @@ func (t *diskTrack) writeBuffered(force bool) error { } } } else { + keyframe = true if t.writer == nil { if !t.conn.hasVideo { err := t.conn.initWriter(0, 0)