mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 07:37:20 +08:00
2023-10-24 21:24:55 CST W43D2
This commit is contained in:
@@ -595,17 +595,17 @@ func (ctx *AVIOContext) GetIgnoreBoundaryPointAddr() *int32 {
|
||||
return (*int32)(&ctx.ignore_boundary_point)
|
||||
}
|
||||
|
||||
// Custom: GetCurrentType gets `AVIOContext.current_type` value.
|
||||
// Custom: GetCurrentType gets `AVIOContext.currenttype` value.
|
||||
func (ctx *AVIOContext) GetCurrentType() AVIODataMarkerType {
|
||||
return (AVIODataMarkerType)(ctx.current_type)
|
||||
}
|
||||
|
||||
// Custom: SetCurrentType sets `AVIOContext.current_type` value.
|
||||
// Custom: SetCurrentType sets `AVIOContext.currenttype` value.
|
||||
func (ctx *AVIOContext) SetCurrentType(v AVIODataMarkerType) {
|
||||
ctx.current_type = (C.enum_AVIODataMarkerType)(v)
|
||||
}
|
||||
|
||||
// Custom: GetCurrentTypeAddr gets `AVIOContext.current_type` address.
|
||||
// Custom: GetCurrentTypeAddr gets `AVIOContext.currenttype` address.
|
||||
func (ctx *AVIOContext) GetCurrentTypeAddr() *AVIODataMarkerType {
|
||||
return (*AVIODataMarkerType)(&ctx.current_type)
|
||||
}
|
||||
|
Reference in New Issue
Block a user