ziutek / gst

Go bindings for GStreamer (retired: currently I don't use/develop this package)
Other
169 stars 48 forks source link

Compilation error in examples/player.go #11

Open EvAlex opened 7 years ago

EvAlex commented 7 years ago

https://github.com/ziutek/gst/blob/master/examples/player.go#L57

XOverlayCast is missing in gst and I cannot figure out how to replace it.

EvAlex commented 7 years ago

Found commit that removed this: c1dc59390be6daeabcebd0c6edef8d63f293efb8

Helpful commit message have lead me to GStreamer's Porting 0.10 applications to 1.0

ziutek commented 7 years ago

Hello. I don't use this package for quiet some time. For now I have no time to actively support it.

TVforME commented 2 months ago

Using the gst lib with GStreamer 1.24.4 compilation of simple.go pulls this error :-

# github.com/ziutek/gst
cgo-gcc-prolog: In function ‘_cgo_753304460517_Cfunc_gst_element_get_request_pad’:
cgo-gcc-prolog:112:2: warning: ‘gst_element_get_request_pad’ is deprecated: Use 'gst_element_request_pad_simple' instead [-Wdeprecated-declarations]
In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27,
                 from /usr/include/gstreamer-1.0/gst/gst.h:35,
                 from ../../../go/pkg/mod/github.com/ziutek/gst@v0.0.0-20210107120415-007422cec673/element.go:5:
/usr/include/gstreamer-1.0/gst/gstelement.h:1042:25: note: declared here
 1042 | GstPad*                 gst_element_get_request_pad     (GstElement *element, const gchar *name);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~

(testchart:98132): GStreamer-CRITICAL **: 18:35:30.222: gst_structure_new_empty: assertion 'gst_structure_validate_name (name)' failed

(testchart:98132): GStreamer-CRITICAL **: 18:35:30.223: gst_structure_take_value: assertion 'structure != NULL' failed

(testchart:98132): GStreamer-CRITICAL **: 18:35:30.223: gst_structure_take_value: assertion 'structure != NULL' failed

(testchart:98132): GStreamer-CRITICAL **: 18:35:30.223: gst_structure_take_value: assertion 'structure != NULL' failed
EMPTY