mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-06 00:17:00 +08:00

* Debugger Enablement: Switching CGO/gst utility functions from inline to concrete symbols Unfortunately debug Go builds during linkage due to be unable to find the inline functions. This commit converts the inline functions to concrete symbols. The performance implications are untested. * Debugger Enablement: gst-base: Switching CGO/gst utility functions from inline to concrete symbols Unfortunately debug Go builds during linkage due to be unable to find the inline functions. This commit converts the inline functions to concrete symbols. The performance implications are untested. enable debugger for base * Debugger Enablement: gst-app: Switching CGO/gst utility functions from inline to concrete symbols Unfortunately debug Go builds during linkage due to be unable to find the inline functions. This commit converts the inline functions to concrete symbols. The performance implications are untested. * Debugger Enablement: Removing clashes with go-glib
16 lines
919 B
C
16 lines
919 B
C
#include "gst.go.h"
|
|
|
|
GstBaseSink * toGstBaseSink (void *p) { return GST_BASE_SINK_CAST(p); }
|
|
GstBaseSrc * toGstBaseSrc (void *p) { return GST_BASE_SRC_CAST(p); }
|
|
GstBaseTransform * toGstBaseTransform (void *p) { return GST_BASE_TRANSFORM(p); }
|
|
GstCollectPads * toGstCollectPads (void *p) { return GST_COLLECT_PADS(p); }
|
|
GstPushSrc * toGstPushSrc (void *p) { return GST_PUSH_SRC(p); }
|
|
|
|
GstBaseSinkClass * toGstBaseSinkClass (void *p) { return (GstBaseSinkClass *)p; }
|
|
GstBaseSrcClass * toGstBaseSrcClass (void *p) { return (GstBaseSrcClass *)p; }
|
|
GstBaseTransformClass * toGstBaseTransformClass (void *p) { return (GstBaseTransformClass *)p; }
|
|
GstPushSrcClass * toGstPushSrcClass (void *p) { return (GstPushSrcClass *)p; }
|
|
|
|
gint64 gstCollectDataDTS (GstCollectData * gcd) { return GST_COLLECT_PADS_DTS(gcd); }
|
|
|