1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 16:45:58 +01:00

Set keyframe flag on audio samples.

This commit is contained in:
Juliusz Chroboczek 2022-04-16 01:18:34 +02:00
parent 6669a93ae3
commit d36111d9f9

View file

@ -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)