1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 07:15:47 +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 {
keyframe = true
if t.writer == nil {
if !t.conn.hasVideo {
err := t.conn.initWriter(0, 0)