mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-05 16:06:55 +08:00
move pkgconfig/cflags all into c_util.go file, include only gst.go.h in go files
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
package gst
|
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
|
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
*/
|
*/
|
||||||
|
@@ -1,12 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -Wno-unused-function -g
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include <gst/app/gstappsink.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
import "errors"
|
import "errors"
|
||||||
|
|
||||||
|
@@ -1,12 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include <gst/app/gstappsrc.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
import "time"
|
import "time"
|
||||||
|
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -1,12 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include <glib-object.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
import "time"
|
import "time"
|
||||||
|
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
import (
|
import (
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -Wno-incompatible-pointer-types -g
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
// Plugin is a go representation of a GstPlugin.
|
// Plugin is a go representation of a GstPlugin.
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
import (
|
import (
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
@@ -1,12 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0 gstreamer-app-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -Wno-unused-function -g
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include <gst/app/gstappsink.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
// Sample is a go wrapper around a GstSample object.
|
// Sample is a go wrapper around a GstSample object.
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -1,10 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
// URIType casts C GstURIType to a go type
|
// URIType casts C GstURIType to a go type
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
package gst
|
package gst
|
||||||
|
|
||||||
/*
|
// #include "gst.go.h"
|
||||||
#cgo pkg-config: gstreamer-1.0
|
|
||||||
#cgo CFLAGS: -Wno-deprecated-declarations -g -Wall
|
|
||||||
#include <gst/gst.h>
|
|
||||||
#include "gst.go.h"
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
import (
|
import (
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
Reference in New Issue
Block a user