mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-06 00:26:52 +08:00

* Add avdevice support * Format Adjustment: DeviceRegisterAll renamed to RegisterAllDevices Move FindInputFormat position Add Name(), LongName(), String() methods to InputFormat Adjust TestInputFormat test
10 lines
152 B
Go
10 lines
152 B
Go
package astiav
|
|
|
|
//#cgo pkg-config: libavdevice
|
|
//#include <libavdevice/avdevice.h>
|
|
import "C"
|
|
|
|
func RegisterAllDevices() {
|
|
C.avdevice_register_all()
|
|
}
|