mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Add DASH streams for VP9 transcoding (#3275)
This commit is contained in:
49
vendor/github.com/zencoder/go-dash/v3/helpers/ptrs/ptrs.go
generated
vendored
Normal file
49
vendor/github.com/zencoder/go-dash/v3/helpers/ptrs/ptrs.go
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
package ptrs
|
||||
|
||||
func Strptr(v string) *string {
|
||||
p := new(string)
|
||||
*p = v
|
||||
return p
|
||||
}
|
||||
|
||||
func Intptr(v int) *int {
|
||||
p := new(int)
|
||||
*p = v
|
||||
return p
|
||||
}
|
||||
|
||||
func Int64ptr(v int64) *int64 {
|
||||
p := new(int64)
|
||||
*p = v
|
||||
return p
|
||||
}
|
||||
|
||||
func Uintptr(v uint) *uint {
|
||||
p := new(uint)
|
||||
*p = v
|
||||
return p
|
||||
}
|
||||
|
||||
func Uint32ptr(v uint32) *uint32 {
|
||||
p := new(uint32)
|
||||
*p = v
|
||||
return p
|
||||
}
|
||||
|
||||
func Uint64ptr(v uint64) *uint64 {
|
||||
p := new(uint64)
|
||||
*p = v
|
||||
return p
|
||||
}
|
||||
|
||||
func Boolptr(v bool) *bool {
|
||||
p := new(bool)
|
||||
*p = v
|
||||
return p
|
||||
}
|
||||
|
||||
func Float64ptr(v float64) *float64 {
|
||||
p := new(float64)
|
||||
*p = v
|
||||
return p
|
||||
}
|
||||
Reference in New Issue
Block a user