Reuse shared PlayerState enum
This commit is contained in:
parent
14599f4df5
commit
5d8f34f320
|
|
@ -111,17 +111,10 @@ type busEvent struct {
|
|||
State C.GstState
|
||||
}
|
||||
|
||||
type PlayerState int
|
||||
|
||||
const (
|
||||
StateIdle PlayerState = iota
|
||||
StateLoading
|
||||
StatePaused
|
||||
StatePlaying
|
||||
StateIdle PlayerState = iota + 100
|
||||
StateSeeking
|
||||
StateStepping
|
||||
StateStopped
|
||||
StateError
|
||||
StateEOS
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user