434 Commits

Author SHA1 Message Date
RSWilli
3a1d70d48c allow nullable target for ghost pads 2025-05-28 18:33:57 +02:00
Wilhelm Bartel
23dd3a64da Merge pull request #164 from m1k1o/feature/source-object
add SourceObject to GstMessage.
2025-01-27 15:55:20 +01:00
Miroslav Šedivý
70723da789 add SourceObject to GstMessage. 2025-01-06 12:01:30 +01:00
Wilhelm Bartel
bc0e89dbba Merge pull request #156 from m1k1o/feature/get-set-parent-name
get/set parent/name on GstObject
2025-01-06 09:56:14 +01:00
Miroslav Šedivý
8fc1b481c9 get/set parent/name. 2024-12-28 22:18:00 +01:00
Wilhelm Bartel
b307113477 Merge pull request #157 from m1k1o/fix/debug-graph-show-full-params
Fix DebugGraphShowFullParams typo
2024-12-16 16:46:01 +01:00
Miroslav Šedivý
43e46b3fda fix DebugGraphShowFullParams typo. 2024-12-14 15:19:56 +01:00
Wilhelm Bartel
5636561a0e Merge pull request #155 from go-gst/dependabot/go_modules/examples/plugins/minio/golang.org/x/crypto-0.31.0
Bump golang.org/x/crypto from 0.27.0 to 0.31.0 in /examples/plugins/minio
2024-12-12 11:51:19 +01:00
dependabot[bot]
39414356be Bump golang.org/x/crypto in /examples/plugins/minio
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.27.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.27.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-12 10:16:36 +00:00
Wilhelm Bartel
08ffa1bed5 Merge pull request #153 from go-gst/tracer_support
Tracer support, more examples, GstStructure memory safety, fix some leaks

Breaking for users that used PadProbeUnhandled
2024-12-09 15:44:54 +01:00
RSWilli
cae1676256 update dependencies 2024-12-09 15:44:22 +01:00
RSWilli
5e35a1fcbf change workflow to build latest release with less enabled plugins 2024-12-09 15:33:08 +01:00
RSWilli
d3450b0271 fix staticcheck hints 2024-12-09 12:52:33 +01:00
RSWilli
3bea6c6b48 remove asan calls and GC 2024-12-09 11:50:26 +01:00
RSWilli
96b7315e7a add custom transform example and remove calls to deprecated methods 2024-12-09 10:53:09 +01:00
RSWilli
b9dce0b926 fix ToGValue for nil structures 2024-12-09 09:15:27 +01:00
RSWilli
b36979a5b8 update go-glib 2024-11-28 11:27:38 +01:00
RSWilli
0577406af2 switch to github.com/go-gst/go-pointer 2024-11-27 17:54:38 +01:00
RSWilli
84517be28f add missing free, since GoString creates a copy 2024-11-27 17:53:34 +01:00
RSWilli
dfb62b9176 rename pad probe return constant since it was misleading 2024-11-27 17:52:40 +01:00
RSWilli
ce8aa32528 update go-glib dependency 2024-11-25 23:59:33 +01:00
RSWilli
a9410a5533 add more control binding functions
TODO: move DirectControlBinding into controller package
2024-11-25 23:58:18 +01:00
RSWilli
d1b85c0cc8 implement marshalValueList more safely
copy the value, since we don't own the reference
2024-11-25 23:58:18 +01:00
RSWilli
7e426963de don't dereference glib.Value pointers, to not risk triggering the finalizer 2024-11-25 23:58:18 +01:00
RSWilli
178d38ef69 prevent use after frees with structures that are transfer:none 2024-11-25 23:58:18 +01:00
RSWilli
4c73c3cfbe add support for retrieving tracers 2024-11-25 23:58:18 +01:00
RSWilli
c9f628fb89 allow for "gst" struct tags to specify field name 2024-11-25 23:58:18 +01:00
Wilhelm Bartel
aff5699005 Merge pull request #152 from go-gst/custom_elements_mem_leak
add example which registers and uses go custom elements
2024-11-25 23:57:49 +01:00
RSWilli
05f691e32c remove calls of WithPointerTransferOriginal from bins and elements since it was a possible source of mem leaks
TODO: other usages include base_src/sink/transform push_src and URI handler
2024-11-15 17:40:45 +01:00
RSWilli
72543a2372 add example which registers and uses go custom elements
this example has an assert that checks wether or nor the finalizers ran correctly. If they don't then a mem leak will happen
2024-11-15 17:21:35 +01:00
Wilhelm Bartel
17ef73066a Merge pull request #151 from go-gst/pprof_tracing
add pprof Profile to trace active pad probes
2024-11-15 15:24:59 +01:00
RSWilli
4242951bfb add pprof Profile to trace active pad probes 2024-11-14 10:45:44 +01:00
Wilhelm Bartel
69dd802256 Merge pull request #119 from go-gst/issue-templates
Create issue templates
2024-11-11 14:30:31 +01:00
Wilhelm Bartel
a9ea8153c1 Create issue templates 2024-11-11 14:29:48 +01:00
RSWilli
9f4a034ade expose clock types and ToGstClock, add convinience function to create a SystemClock v1.4.0 2024-11-11 13:31:21 +01:00
RSWilli
4919f6a2ed update go-glib 2024-11-11 13:31:21 +01:00
RSWilli
d962b48a98 update dependencies 2024-11-11 13:31:21 +01:00
RSWilli
86976560eb nil safety for unsafe structure instances 2024-11-11 13:31:21 +01:00
RSWilli
5a9dadfbaa correctly type marshaled nil promises 2024-11-11 13:31:21 +01:00
RSWilli
caacef402d nil safety for sdp message 2024-11-11 13:31:21 +01:00
RSWilli
f3737a9a08 fix docs 2024-11-11 13:31:21 +01:00
RSWilli
82510a77e5 add accessor function for SDP message 2024-11-11 13:31:21 +01:00
Wilhelm Bartel
baf9003264 Merge pull request #147 from allread-mlt/main
Unreference cstring created when calling gst_tag_list_to_string which caused a memory leak
2024-11-11 12:59:00 +01:00
rafael@allread.ai
2ae8e7ee75 unreference cstring created when calling gst_tag_list_to_string which caused a memory leak 2024-11-07 09:24:54 +01:00
Wilhelm Bartel
77c0c3181b Merge pull request #143 from chrbsg/fix-session-description-null-ptr-marshal
webrtc: fix nil deref marshal *SessionDescription
2024-10-30 11:10:53 +01:00
Wilhelm Bartel
20c9b3b5c2 Merge pull request #140 from do-hyung-kim/enhance_usability
Enhance usability
2024-10-28 17:01:27 +01:00
Chris Bainbridge
2208901b27 webrtc: fix nil deref marshal *SessionDescription
When the SessionDescription pointer is nil, ToGValue() will crash
dereferencing the pointer. Fix this by avoiding the dereference.

The ability to marshal a NULL value is required for compatibility with
other languages. This change has been tested with the custom signalling
from gst-plugins-rs, in which a signaller may emit a `session-requested`
signal with an optional offer SDP.
2024-10-28 09:45:02 +00:00
do-hyung-kim
94b435619c add application message case in get structure
application message made with structure, so add case application messsage
in GetStructure func
2024-10-18 09:28:50 +09:00
USER
5f7f1cfc8d element set locked state wrapper 2024-10-16 17:08:03 +09:00
RSWilli
7bc995c4f5 GstPromise is a boxed type and needs to be passed to GValue accordingly
also handle nil unmarshalling
2024-09-23 16:31:26 +02:00