mirror of
https://github.com/jech/galene.git
synced 2024-12-22 23:35:46 +01:00
Fix typos in infinite action stream implementation.
This fixes issues introduced in commit 6ae79f.
This commit is contained in:
parent
b9c1968b48
commit
6388f16e87
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@ func readLoop(track *rtpUpTrack) {
|
|||
case <-track.actionCh:
|
||||
track.mu.Lock()
|
||||
actions := track.actions
|
||||
track.actions = nil
|
||||
track.mu.Unlock()
|
||||
for _, action := range actions {
|
||||
switch action.action {
|
||||
|
@ -53,6 +54,7 @@ func readLoop(track *rtpUpTrack) {
|
|||
log.Printf("Unknown action")
|
||||
}
|
||||
}
|
||||
default:
|
||||
}
|
||||
|
||||
bytes, _, err := track.track.Read(buf)
|
||||
|
|
Loading…
Reference in a new issue