Commit d36111d9 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Set keyframe flag on audio samples.

parent 6669a93a
...@@ -523,6 +523,7 @@ func (t *diskTrack) writeBuffered(force bool) error { ...@@ -523,6 +523,7 @@ func (t *diskTrack) writeBuffered(force bool) error {
} }
} }
} else { } else {
keyframe = true
if t.writer == nil { if t.writer == nil {
if !t.conn.hasVideo { if !t.conn.hasVideo {
err := t.conn.initWriter(0, 0) err := t.conn.initWriter(0, 0)
......
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