Sebastian Dröge
|
567ce0a3bf
|
Group and merge imports in all manual code
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1182>
|
2023-01-04 13:25:17 +02:00 |
|
Sebastian Dröge
|
882513d33a
|
Make use of the new TransparentType / TransparentPtrType traits
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1178>
|
2023-01-02 19:07:24 +02:00 |
|
Sebastian Dröge
|
d6cc452cf3
|
Use PhantomData as Stash::Storage if nothing has to be stored except for a lifetime
This reduces the size of all stashes from two pointers to one.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1171>
|
2022-12-20 17:07:39 +00:00 |
|
Sebastian Dröge
|
e3ad1918dc
|
Fix various new clippy warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1164>
|
2022-12-13 11:29:45 +02:00 |
|
Sebastian Dröge
|
b5fcbc9657
|
gstreamer: Get rid of some unnecessary unsafe API usage
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1157>
|
2022-11-27 00:59:38 +02:00 |
|
Sebastian Dröge
|
ae4dd88f3d
|
Update for GLib Into<Value> changes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1156>
|
2022-11-26 15:19:35 +02:00 |
|
Sebastian Dröge
|
1264eb10ac
|
gstreamer: Add PartialEq impls between owned/borrowed miniobjects/structures
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1152>
|
2022-11-21 12:40:37 +02:00 |
|
Sebastian Dröge
|
01e24d2018
|
Fix various new clippy warnings
|
2022-11-01 11:10:57 +02:00 |
|
Guillaume Desmottes
|
64c09353b7
|
gstreamer: structure: improve Debug implementation
g_strdup_value_contents() output is not easily readable with nested
structures
|
2022-08-25 10:54:16 +02:00 |
|
Guillaume Desmottes
|
2dcd5cf9eb
|
as_ptr() and as_mut_ptr() accessors are safe
Nothing unsafe about getting a pointer, deferencing it is unsafe.
|
2022-08-12 08:29:49 +02:00 |
|
Sebastian Dröge
|
aaf601831e
|
gstreamer: Index structures/taglist more safely
Accessing after the length will lead to a critical warning and should
not happen.
|
2022-05-22 12:42:42 +03:00 |
|
Sebastian Dröge
|
d4430ecc6a
|
Implement more iterator functions / traits in custom iterators for efficiency reasons
|
2022-05-22 12:42:42 +03:00 |
|
Philippe Renon
|
5d2f36fac3
|
gstreamer: implement FromGlibPtrBorrow trait for gst::Structure
needed for callbacks that pass GstStructure by reference
for example: the PlaySignalAdapter error and warning signals
needed by https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1036
|
2022-05-17 23:19:35 +02:00 |
|
Guillaume Gomez
|
c1d3ed5eac
|
Use IntoGlibPtr trait instead of implementing into_ptr
|
2022-05-07 13:38:11 +02:00 |
|
Sebastian Dröge
|
1f7a0f29d9
|
gstreamer: Update for optional glib::Value type refactoring
|
2022-03-07 13:20:08 +02:00 |
|
Sebastian Dröge
|
68d492bb33
|
gstreamer: Mark Structure and CapsFeatures as #[repr(transparent)] too
|
2022-01-17 19:42:20 +00:00 |
|
Sebastian Dröge
|
1b46bca2db
|
structure: Add bindings for foreach() , map_in_place() and filter_map_in_place()`
|
2022-01-11 13:37:40 +00:00 |
|
Sebastian Dröge
|
6d63180bfc
|
Update for glib::Quark API changes
|
2022-01-11 12:50:13 +02:00 |
|
Sebastian Dröge
|
1e18c59d2a
|
Implement glib::ValueTypeOptional for various types
|
2021-12-16 17:40:39 +00:00 |
|
Paolo Borelli
|
97f59d34fa
|
Add the has_name() fn to EventRef, MessageRef and StructureRef
They are handy and they match the C api
|
2021-12-14 09:59:39 +01:00 |
|
Sebastian Dröge
|
1541fbf32a
|
gstreamer: Add many new doc aliases for C function
|
2021-12-12 17:52:32 +02:00 |
|
Sebastian Dröge
|
ee1a5e8395
|
Add #[must_use] attribute to many builders
|
2021-12-04 10:26:08 +02:00 |
|
Sebastian Dröge
|
220c500799
|
gstreamer: Add numer()/denom() functions to gst::Fraction to get the values by value instead of reference
|
2021-11-06 00:23:07 +02:00 |
|
Sebastian Dröge
|
cdfe4b3d67
|
Remove unneeded std::convert::TryFrom/TryInto and std::str::FromStr imports
|
2021-10-31 18:20:31 +02:00 |
|
Sebastian Dröge
|
92f9f3be39
|
Remove various unnecessary & from property/structure field related code
|
2021-10-24 20:52:23 +03:00 |
|
Sebastian Dröge
|
18e45dd991
|
gstreamer: Add FromIterator/Extend impls based on owned Strings and glib::Quark
|
2021-10-20 14:28:14 +03:00 |
|
Sebastian Dröge
|
a7be9ea9d9
|
gstreamer: Implement Extend trait for buffer, buffer list, caps, caps features and structure
And also implement FromIterator<Memory> for buffer.
|
2021-10-20 13:53:23 +03:00 |
|
Sebastian Dröge
|
e6b78d1489
|
gstreamer: Have Structure::from_iter() take owned values
They were copied internally, which can be avoided in many cases if
working with owned values anyway.
|
2021-10-18 16:36:15 +03:00 |
|
Sebastian Dröge
|
3670076f07
|
gstreamer: Implement IntoIterator / FromIterator for Buffer, BufferList, Caps, CapsFeatures, StreamCollection and Structure
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/285
|
2021-10-16 23:24:08 +03:00 |
|
Marijn Suijten
|
226419003d
|
Use impl for some Into* trait bounds
|
2021-09-21 23:54:11 +02:00 |
|
Sebastian Dröge
|
b1afc4804a
|
Fix various needless-borrow clippy warnings
|
2021-07-30 13:19:24 +03:00 |
|
Vivia Nikolaidou
|
45f8035ccb
|
structure, caps: Implement 1.20 serialize functions
|
2021-07-09 15:10:02 +03:00 |
|
Guillaume Gomez
|
5ba79976a9
|
Generate missing doc aliases for newtypes
|
2021-06-01 15:15:59 +02:00 |
|
Marijn Suijten
|
540062b97c
|
Add missing doc aliases to manual code
Using the same script as [1], called with:
python3 add_doc_alias.py gstreamer*/**/src
[1]: https://github.com/gtk-rs/gtk-rs-core/pull/83
|
2021-05-19 22:36:18 +02:00 |
|
Sebastian Dröge
|
aa3cc48756
|
Fix new 1.52 clippy warnings
|
2021-05-05 12:02:03 +03:00 |
|
François Laignel
|
49583597ed
|
manual code: fix-getters-def doc aliases
|
2021-05-03 20:46:57 +02:00 |
|
Marijn Suijten
|
10c93807fb
|
Replace explicit type with Self in for_value_type::<> turbofish
|
2021-04-30 10:02:47 +02:00 |
|
Bilal Elmoussaoui
|
890cd03632
|
manual renames of to_glib into into_glib
|
2021-04-27 19:44:41 +02:00 |
|
Sebastian Dröge
|
eda1d3d4a7
|
Update for Value trait refactoring
|
2021-04-25 14:45:08 +03:00 |
|
François Laignel
|
6ab9164dca
|
fix-getters-calls 0.3.0 pass
|
2021-04-20 18:18:02 +02:00 |
|
François Laignel
|
e80a29372a
|
fix-getters-def 0.3.0 pass
|
2021-04-20 18:18:02 +02:00 |
|
François Laignel
|
53be8e5f58
|
fix-getters-{def,calls} pass
|
2021-04-13 17:54:40 +02:00 |
|
Sebastian Dröge
|
b6f6758454
|
gstreamer: Store ffi::GstStructure inside gst::Structure
Simplifies code and prepares for the next changes.
|
2021-04-03 17:35:10 +03:00 |
|
Sebastian Dröge
|
a316d610eb
|
gstreamer: Update for glib::Type API changes
|
2021-02-25 12:49:47 +02:00 |
|
Sebastian Dröge
|
ce1148b474
|
Update everything for glib macro renamings
|
2020-12-18 00:56:47 +02:00 |
|
Guillaume Gomez
|
ff5a36561a
|
Fix license header situation
|
2020-12-15 11:53:31 +01:00 |
|
Marijn Suijten
|
0763d2645d
|
video: Reuse Self::Err in from_str
|
2020-12-07 12:09:39 +01:00 |
|
Sebastian Dröge
|
9d9522016b
|
gstreamer: Update manual code to 2018 edition
|
2020-11-22 19:15:20 +02:00 |
|
Sebastian Dröge
|
a6c8fe0c8a
|
Use repr(transparent) where it is more correct and get rid of some unneeded repr(C)
|
2020-10-24 17:09:10 +00:00 |
|
Sebastian Dröge
|
4c216bca3a
|
Remove unneeded PhantomData markers
And as a side-effect also get rid of the lifetime parameter of
gst::TypeFind that was completely unused anyway.
|
2020-10-24 17:09:10 +00:00 |
|