gst
gst copied to clipboard
Compilation error in examples/player.go
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.
Found commit that removed this: c1dc59390be6daeabcebd0c6edef8d63f293efb8
Helpful commit message have lead me to GStreamer's Porting 0.10 applications to 1.0
Hello. I don't use this package for quiet some time. For now I have no time to actively support it.
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/[email protected]/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