mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-30 19:16:34 +08:00
* gst: add wrapper for deinit function * build: prevent unused variable warning in cgo code compilation. While compiling the code gcc complained with unused-variable According to: https://github.com/golang/go/issues/6883#issuecomment-383800123 Wall flag should not be used in CGO, nonetheless in this PR we only remove the unused variable warning. Co-authored-by: Solganik Alexander <alexanders@anyvision.co>
9 lines
172 B
Go
9 lines
172 B
Go
package gst
|
|
|
|
/*
|
|
#cgo pkg-config: gstreamer-1.0
|
|
#cgo CFLAGS: -Wno-deprecated-declarations -Wno-format-security -g -Wall -Wno-unused-variable
|
|
#cgo LDFLAGS: -lm
|
|
*/
|
|
import "C"
|