Files
go-gst/gst/pkg_config.go
Solganik Alexander 16ee890d5c gst: add wrapper for deinit function (#15)
* 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>
2021-06-06 12:47:32 +03:00

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"