mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-08 09:00:16 +08:00
2023-10-24 21:24:55 CST W43D2
This commit is contained in:
@@ -142,7 +142,7 @@ func (bsf *AVBitStreamFilter) GetName() string {
|
||||
|
||||
// Custom: GetCodecIds gets `AVBitStreamFilter.codec_ids` value.
|
||||
func (bsf *AVBitStreamFilter) GetCodecIds() []AVCodecID {
|
||||
return TruncSlice((*AVCodecID)(bsf.codec_ids), func(ac AVCodecID) bool {
|
||||
return SliceTrunc((*AVCodecID)(bsf.codec_ids), func(ac AVCodecID) bool {
|
||||
return ac == AV_CODEC_ID_NONE
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user