diff --git a/gst/c_util.go b/gst/c_util.go index 9a034ea..066684c 100644 --- a/gst/c_util.go +++ b/gst/c_util.go @@ -1,7 +1,7 @@ package gst /* -#cgo pkg-config: gstreamer-1.0 +#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0 #cgo CFLAGS: -Wno-deprecated-declarations -g -Wall #include */ diff --git a/gst/gst_app_sink.go b/gst/gst_app_sink.go index a31dd8e..3280b82 100644 --- a/gst/gst_app_sink.go +++ b/gst/gst_app_sink.go @@ -1,12 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -Wno-unused-function -g -#include -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import "errors" diff --git a/gst/gst_app_src.go b/gst/gst_app_src.go index 75b8330..2f9c2cf 100644 --- a/gst/gst_app_src.go +++ b/gst/gst_app_src.go @@ -1,12 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import "time" diff --git a/gst/gst_bin.go b/gst/gst_bin.go index e74c9e0..89daf33 100644 --- a/gst/gst_bin.go +++ b/gst/gst_bin.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( "fmt" diff --git a/gst/gst_buffer.go b/gst/gst_buffer.go index 236c190..14fb235 100644 --- a/gst/gst_buffer.go +++ b/gst/gst_buffer.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( "bytes" diff --git a/gst/gst_bus.go b/gst/gst_bus.go index 59edd63..8abe92e 100644 --- a/gst/gst_bus.go +++ b/gst/gst_bus.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( diff --git a/gst/gst_caps.go b/gst/gst_caps.go index 4a0c954..7068258 100644 --- a/gst/gst_caps.go +++ b/gst/gst_caps.go @@ -1,12 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( diff --git a/gst/gst_clock.go b/gst/gst_clock.go index 46825cf..e47619d 100644 --- a/gst/gst_clock.go +++ b/gst/gst_clock.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import "time" diff --git a/gst/gst_constants.go b/gst/gst_constants.go index c51587e..e563930 100644 --- a/gst/gst_constants.go +++ b/gst/gst_constants.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" const ( diff --git a/gst/gst_element.go b/gst/gst_element.go index 1405c3e..1986d00 100644 --- a/gst/gst_element.go +++ b/gst/gst_element.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( diff --git a/gst/gst_element_factory.go b/gst/gst_element_factory.go index 48f63ed..22b8675 100644 --- a/gst/gst_element_factory.go +++ b/gst/gst_element_factory.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( diff --git a/gst/gst_memory.go b/gst/gst_memory.go index 20242ab..d98e021 100644 --- a/gst/gst_memory.go +++ b/gst/gst_memory.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( "fmt" diff --git a/gst/gst_message.go b/gst/gst_message.go index eefe72d..82b3306 100644 --- a/gst/gst_message.go +++ b/gst/gst_message.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( diff --git a/gst/gst_mini_object.go b/gst/gst_mini_object.go index c6ceb43..3812680 100644 --- a/gst/gst_mini_object.go +++ b/gst/gst_mini_object.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( diff --git a/gst/gst_object.go b/gst/gst_object.go index 2463a09..61ffc7a 100644 --- a/gst/gst_object.go +++ b/gst/gst_object.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( diff --git a/gst/gst_pad.go b/gst/gst_pad.go index 307eb26..a130368 100644 --- a/gst/gst_pad.go +++ b/gst/gst_pad.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( "unsafe" diff --git a/gst/gst_parameter_spec.go b/gst/gst_parameter_spec.go index 2a00278..0527bee 100644 --- a/gst/gst_parameter_spec.go +++ b/gst/gst_parameter_spec.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( diff --git a/gst/gst_pipeline.go b/gst/gst_pipeline.go index 4f2999c..445a558 100644 --- a/gst/gst_pipeline.go +++ b/gst/gst_pipeline.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -Wno-incompatible-pointer-types -g -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( diff --git a/gst/gst_plugin.go b/gst/gst_plugin.go index b6a47e9..99c646d 100644 --- a/gst/gst_plugin.go +++ b/gst/gst_plugin.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" // Plugin is a go representation of a GstPlugin. diff --git a/gst/gst_plugin_feature.go b/gst/gst_plugin_feature.go index a3e526c..898d0d4 100644 --- a/gst/gst_plugin_feature.go +++ b/gst/gst_plugin_feature.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( "unsafe" diff --git a/gst/gst_registry.go b/gst/gst_registry.go index b2475e9..fedf7af 100644 --- a/gst/gst_registry.go +++ b/gst/gst_registry.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( "fmt" diff --git a/gst/gst_sample.go b/gst/gst_sample.go index fe28c76..cac02c2 100644 --- a/gst/gst_sample.go +++ b/gst/gst_sample.go @@ -1,12 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -Wno-unused-function -g -#include -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" // Sample is a go wrapper around a GstSample object. diff --git a/gst/gst_structure.go b/gst/gst_structure.go index 2a671d3..ee3fc5c 100644 --- a/gst/gst_structure.go +++ b/gst/gst_structure.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( diff --git a/gst/gst_uri.go b/gst/gst_uri.go index ad906d0..3a80075 100644 --- a/gst/gst_uri.go +++ b/gst/gst_uri.go @@ -1,10 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -*/ +// #include "gst.go.h" import "C" // URIType casts C GstURIType to a go type diff --git a/gst/gst_wrappers.go b/gst/gst_wrappers.go index 9a85ccf..cd3b6fc 100644 --- a/gst/gst_wrappers.go +++ b/gst/gst_wrappers.go @@ -1,11 +1,6 @@ package gst -/* -#cgo pkg-config: gstreamer-1.0 -#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall -#include -#include "gst.go.h" -*/ +// #include "gst.go.h" import "C" import ( "unsafe"