Sebastian Dröge
|
342d89dd44
|
Allow creating buffers from AsRef<[u8]> and AsMut<[u8]>
Not just from Vec<u8>.
|
2017-10-20 18:37:38 +02:00 |
|
Sebastian Dröge
|
e1d134c4be
|
Run everything through latest rustfmt-nightly
|
2017-10-17 12:06:51 +03:00 |
|
Sebastian Dröge
|
9a6713b901
|
Store pointers for static caps and pad templates
We don't own them, we don't want to copy them. They're *statically*
allocated things in C.
|
2017-10-15 11:27:08 +03:00 |
|
Sebastian Dröge
|
9206ddba61
|
Add StaticCaps and StaticPadTemplate bindings
No way to create them though, just use lazy_static from Rust instead if
something like this is needed.
|
2017-10-15 11:08:56 +03:00 |
|
Sebastian Dröge
|
1f16a39ca4
|
Move gst_mini_object_copy() from GstRc<T> to MiniObject directly
It can also be called on the shallow references.
|
2017-10-12 17:58:46 +03:00 |
|
Sebastian Dröge
|
b773c0b46a
|
Fix compilation again now that GstRc::get_mut() requires &mut self again
|
2017-10-11 15:39:27 +03:00 |
|
Sebastian Dröge
|
5589d5221f
|
Revert "Don't require &mut self for GstRc::get_mut()"
This reverts commit 4b77c18b5b .
It unfortunately allows to get multiple mutable references to the same
underlying data, which is not allowed.
|
2017-10-11 15:30:55 +03:00 |
|
Sebastian Dröge
|
d85be4fe03
|
Don't make variable mutable if not needed
|
2017-10-09 16:38:13 +03:00 |
|
Sebastian Dröge
|
4b77c18b5b
|
Don't require &mut self for GstRc::get_mut()
|
2017-10-05 14:48:33 +03:00 |
|
Sebastian Dröge
|
19c5556239
|
Regenerate with latest GIR
|
2017-10-01 15:52:15 +02:00 |
|
Sebastian Dröge
|
19e40a5e2c
|
Remove accidental leftover debug output
|
2017-09-18 20:44:59 +03:00 |
|
Sebastian Dröge
|
e026c2f652
|
Directly poke at GstPad struct for retrieving pad function data
glib-sys was just fixed: https://github.com/gtk-rs/sys/pull/62
|
2017-09-18 17:26:42 +03:00 |
|
Sebastian Dröge
|
f4958b71d7
|
Add test for pad tasks
|
2017-09-18 01:53:02 +03:00 |
|
Sebastian Dröge
|
c471a67e78
|
Add test for pad chain/event function and fix-up code
Need to handle NULL parents, and also work-around incomplete GstPad
struct definition in gstreamer-sys due to GHookList being incomplete.
|
2017-09-18 01:45:39 +03:00 |
|
Sebastian Dröge
|
dc6c7500df
|
Add bindings for remaining pad task functions
Especially Pad::start_task()
|
2017-09-18 00:32:29 +03:00 |
|
Sebastian Dröge
|
88f37b799c
|
Re-add Pad::iterate_internal_links()
It was accidentially dropped when making Iterator generic.
|
2017-09-18 00:24:36 +03:00 |
|
fengalin
|
7a108ddd0d
|
Set version (1.12) for StackTraceFlags
Fixes https://github.com/sdroege/gstreamer-rs/pull/36
|
2017-09-17 18:58:10 +03:00 |
|
Sebastian Dröge
|
5881dc7d53
|
Also export IteratorImpl trait
|
2017-09-17 18:51:45 +03:00 |
|
Sebastian Dröge
|
191b90b1df
|
Add copyright/license header to iterator.rs
|
2017-09-17 18:50:35 +03:00 |
|
Sebastian Dröge
|
ce5c01a88e
|
Implement gst::Iterator as a generic type to not require using glib::Values everywhere
|
2017-09-17 18:45:38 +03:00 |
|
Sebastian Dröge
|
8085c4ce8e
|
Add gst::Iterator example with Resync handling
|
2017-09-17 14:59:01 +03:00 |
|
Sebastian Dröge
|
f7bce553cd
|
Implement std::iter::Iterator<Item=Result<glib::Value, IteratorError> for gst::Iterator
|
2017-09-17 14:43:33 +03:00 |
|
Sebastian Dröge
|
8306e5cf72
|
Add more complete gst::Iterator bindings
filter(), foreach(), find(), fold() are implemented now and we can
create our own iterators from a Vec<_> or by implementing a new trait.
|
2017-09-17 13:31:34 +03:00 |
|
Sebastian Dröge
|
858b73a672
|
Add bindings for setting all the pad functions
|
2017-09-17 13:31:34 +03:00 |
|
Sebastian Dröge
|
cc9780520c
|
Implement StaticType for BufferRef, not Buffer
|
2017-09-16 19:27:46 +03:00 |
|
Sebastian Dröge
|
3cb5b591ca
|
Add bindings for Element::message_full() and _full_with_details()
|
2017-09-15 19:00:51 +03:00 |
|
Sebastian Dröge
|
de10335167
|
Allow creating Error/Warning/Info messages only from specific kinds of glib::Error domains
|
2017-09-15 18:35:54 +03:00 |
|
Sebastian Dröge
|
0de4c0c1af
|
Update CHANGELOG.md for 0.8.1
|
2017-09-15 00:50:22 +03:00 |
|
Sebastian Dröge
|
499ca3eff3
|
Also implement Sync+Send for Event and Message
|
2017-09-14 15:52:40 +03:00 |
|
fengalin
|
bb1b3cb1b4
|
Implement Sync and Send for Query
Fixes https://github.com/sdroege/gstreamer-rs/pull/35
|
2017-09-14 15:52:34 +03:00 |
|
Sebastian Dröge
|
608279c6d4
|
Fix various clippy warnings
|
2017-09-13 23:54:22 +03:00 |
|
Sebastian Dröge
|
17cce1a3d7
|
Add support for setting custom fields in message/events during construction
|
2017-09-13 22:38:19 +03:00 |
|
Sebastian Dröge
|
60e6bd8604
|
Require passing an object reference directly to the GStreamer logging macros
|
2017-09-11 14:18:32 +03:00 |
|
Sebastian Dröge
|
b4cb81cd56
|
Run everything through latest rustfmt-nightly
|
2017-09-10 15:21:26 +03:00 |
|
Sebastian Dröge
|
85b335fd89
|
Fix/hide various clippy warnings in gstreamer
|
2017-09-10 15:21:26 +03:00 |
|
Sebastian Dröge
|
3b0e6843e2
|
Regenerate everything with latest GIR
|
2017-09-09 16:35:01 +03:00 |
|
Sebastian Dröge
|
ca6c597fad
|
Add bindings for the GStreamer logging system
|
2017-09-09 16:35:01 +03:00 |
|
Sebastian Dröge
|
8caf88810c
|
Don't implement Clone/Copy for PadProbeId
It's only possible to use it at most once.
|
2017-09-09 00:45:45 +03:00 |
|
Sebastian Dröge
|
be9f544d0a
|
Update crate versions to 0.9.0
0.8 bugfix release development will be in the 0.8 branch
|
2017-09-01 13:44:07 +03:00 |
|
Sebastian Dröge
|
a30582a1ef
|
Add README.md to all crate subdirectories
This way it would show up on crates.io
|
2017-09-01 12:08:59 +03:00 |
|
Sebastian Dröge
|
380fb319ba
|
Don't return &'static references from functions but give them a generic lifetime
https://github.com/rust-lang/rust/pull/42417#issue-233404573
|
2017-09-01 11:40:32 +03:00 |
|
Sebastian Dröge
|
15d05ed3ac
|
Don't use versions for GIT dependencies in master
|
2017-08-31 13:34:52 +03:00 |
|
Sebastian Dröge
|
c94eb34f34
|
Add LICENSE files to all crate subdirectories
|
2017-08-31 13:34:52 +03:00 |
|
Sebastian Dröge
|
d3d00130df
|
Add links to homepage and proper docs
docs.rs can't generate our docs due to missing C libraries
|
2017-08-31 13:04:19 +03:00 |
|
Sebastian Dröge
|
0454a9cb95
|
Ignore some now generated functions for which we have manual implementations
|
2017-08-31 12:13:44 +03:00 |
|
Sebastian Dröge
|
6450fec398
|
Update versions to 0.8.0
|
2017-08-31 10:53:45 +03:00 |
|
Sebastian Dröge
|
dae1a51764
|
Work around rustdoc bug with impls on type aliases
https://github.com/rust-lang/rust/issues/44182
|
2017-08-30 15:12:11 +03:00 |
|
Sebastian Dröge
|
52c013b834
|
Regenerate everything with latest GIR
|
2017-08-30 14:45:25 +03:00 |
|
Sebastian Dröge
|
f0935d7e1e
|
Add remaining gst_init() assertions
|
2017-08-30 14:39:09 +03:00 |
|
Sebastian Dröge
|
f05df73088
|
Add various gst_init() assertions to video/app bindings
audio and core should come next.
Also print something more meaningful than using assert_eq!().
|
2017-08-30 12:48:01 +03:00 |
|