François Laignel
|
514a05accd
|
Manual update for new Value::get signature
|
2019-08-13 10:57:32 +02:00 |
|
Sebastian Dröge
|
d1e562b9f6
|
Explicitly add dyn keyword to trait objects
Trait objects without are deprecated with the latest nightly and this
makes it more clear that we're doing dynamic dispatch anyway.
|
2019-06-06 09:09:34 +03:00 |
|
Sebastian Dröge
|
e7898c1b24
|
Update manual code
|
2019-04-15 19:19:19 +03:00 |
|
Sebastian Dröge
|
2b2c3bbade
|
Make sure to initialize GStreamer in all Structure tests
|
2019-01-27 03:02:11 +02:00 |
|
Sebastian Dröge
|
bd0cbe99b3
|
Add more Debug impls to everything possible
|
2019-01-22 17:46:08 +02:00 |
|
Sebastian Dröge
|
857ed8609c
|
Structure is Sync, and StructureRef is Send+Sync
|
2018-09-22 11:00:17 +03:00 |
|
François Laignel
|
90b046fbcf
|
serde: separate serde impl and tests from base module
+ fix erroneous `datetime` instead of `buffer` in `BufferRef::serialize`
+ remove ser/de for `Value`s with types `ULong` & `ILong`
|
2018-07-30 23:18:30 +03:00 |
|
François Laignel
|
4f948e2cce
|
Sample: serde impl
|
2018-07-30 23:18:30 +03:00 |
|
François Laignel
|
1ef83c24b8
|
Structure: serde impl
|
2018-07-30 23:18:30 +03:00 |
|
Sebastian Dröge
|
33a6aab6d7
|
Run everything through latest rustfmt
|
2018-07-27 13:36:40 +03:00 |
|
Sebastian Dröge
|
694bcaa697
|
Fix all clippy warnings
Or silence the ones we don't care about.
|
2018-07-20 10:28:20 +03:00 |
|
Sebastian Dröge
|
03055f4e84
|
Change Structure/StructureRef to_string() to the minimal required fix
And add a comment to why we need it. No other struct with a to_string()
function is affected.
https://github.com/sdroege/gstreamer-rs/issues/101
|
2018-04-07 13:37:44 +03:00 |
|
Sebastian Dröge
|
ce9b98f338
|
Add Display impl for StructureRef too
|
2018-04-06 13:22:08 +03:00 |
|
Sebastian Dröge
|
f346d57b4f
|
Fix infinite recursion in Structure::to_string()
Instead of StructureRef's to_string(), we were calling
ToString::to_string() in the Display impl. Which then called into itself
again.
Fixes https://github.com/sdroege/gstreamer-rs/issues/101
|
2018-04-06 13:22:08 +03:00 |
|
Guillaume Desmottes
|
c5617f6a47
|
WIP: test Structure string conversions
|
2018-04-06 13:22:08 +03:00 |
|
Sebastian Dröge
|
492c3d656c
|
Run everything through rustfmt again
|
2018-04-01 11:57:58 +03:00 |
|
Sebastian Dröge
|
fca0287dec
|
Use ptr::NonNull in various places
|
2018-04-01 11:29:55 +03:00 |
|
Sebastian Dröge
|
4117c01ff2
|
Run everything through latest rustfmt-nightly
|
2018-02-22 11:18:37 +01:00 |
|
Sebastian Dröge
|
e0dc84c10a
|
Run everything through rustfmt again
|
2017-12-20 19:30:14 +02:00 |
|
Sebastian Dröge
|
1f6fd3def7
|
Structure intersection can return None
|
2017-12-17 11:52:52 +02:00 |
|
Sebastian Dröge
|
411f54afed
|
Run everything to rustfmt again
|
2017-12-01 19:02:53 +02:00 |
|
Sebastian Dröge
|
fccb1eca5e
|
Implement fmt::Debug more consistently for miniobjects and various other types
|
2017-12-01 11:34:01 +02:00 |
|
Sebastian Dröge
|
b198ee21da
|
Let Sample::new(), TagList::add(), Structure::set() and others take more values by reference instead of by value
|
2017-11-27 14:34:02 +02:00 |
|
Sebastian Dröge
|
d430467ed5
|
Don't require Send for Structure::get()
Otherwise we won't be able to get references here.
|
2017-11-16 13:39:01 +02:00 |
|
Sebastian Dröge
|
7eb8429046
|
Run everything through latest rustfmt-nightly again
|
2017-11-15 22:33:51 +02:00 |
|
Sebastian Dröge
|
0629a0283e
|
Use SendValue instead of Value for all our GValue usage
We require types that can be sent between threads.
|
2017-11-15 20:32:52 +02:00 |
|
Sebastian Dröge
|
2fc3470fa1
|
Add a Builder for caps and structures
|
2017-11-11 13:18:50 +01:00 |
|
Sebastian Dröge
|
f0935d7e1e
|
Add remaining gst_init() assertions
|
2017-08-30 14:39:09 +03:00 |
|
Sebastian Dröge
|
337f00a85c
|
Implement SetValueOptional for Structure
|
2017-08-18 16:28:08 +03:00 |
|
Sebastian Dröge
|
2452f7f6a9
|
Allow usage of Structures in GValues
|
2017-08-10 01:13:28 +03:00 |
|
Sebastian Dröge
|
03285a6311
|
Run everything through latest rustfmt-nightly
|
2017-07-31 12:16:42 +01:00 |
|
Sebastian Dröge
|
27d191f854
|
Use &ToValue instead of &Value for simple structure/caps setters/constructors
|
2017-07-27 23:36:44 +01:00 |
|
Sebastian Dröge
|
28f665502b
|
Implement all caps/structure operations
Except for anything related to caps features
|
2017-07-25 02:03:18 +03:00 |
|
Sebastian Dröge
|
ab4aa57a86
|
Fix indentation in a few places and remove unused imports
|
2017-07-24 11:52:28 +03:00 |
|
Sebastian Dröge
|
5e58998c76
|
Implement FromStr for Caps and Structure
|
2017-07-13 14:57:02 +03:00 |
|
Sebastian Dröge
|
49ea4e45fa
|
Re-enable iterator test for Structure
|
2017-07-12 10:38:34 +03:00 |
|
Sebastian Dröge
|
796e37b4b6
|
Initial tag support
|
2017-07-12 10:27:43 +03:00 |
|
Sebastian Dröge
|
71c0885575
|
Remove some unused "use"s
|
2017-07-11 00:36:38 +03:00 |
|
Sebastian Dröge
|
4c5aa49fa2
|
Run manual code through rustfmt
|
2017-07-11 00:33:24 +03:00 |
|
Sebastian Dröge
|
8f49779329
|
For borrowing Structures, StructureRef has to be used
Otherwise DerefMut would have to go away.
|
2017-07-11 00:11:55 +03:00 |
|
Sebastian Dröge
|
c0707bed94
|
Add initial caps bindings
|
2017-07-11 00:11:55 +03:00 |
|
Sebastian Dröge
|
944c71f953
|
Implement StaticType for Structure
|
2017-07-10 17:13:49 +03:00 |
|
Sebastian Dröge
|
e43bf21ded
|
Add initialization safety assertions
Ensure that GStreamer is initialized before allowing to call any
functions
|
2017-07-10 17:12:14 +03:00 |
|
Sebastian Dröge
|
992105b49f
|
Implement basic GstStructure bindings
|
2017-07-10 17:10:15 +03:00 |
|