Sebastian Dröge
23ef3c1f08
Add a function to unset the Bus' current sync handler
...
And use it in the Tokio example to unset the handler once the BusStream
is dropped.
2017-08-01 20:52:29 +03:00
Sebastian Dröge
e55c7d4088
Rename ObjectExt trait to GstObjectExt
...
This works around a bug in the compiler with multiple traits having the
same name, but being re-exported with a different one.
https://github.com/gtk-rs/glib/issues/211
2017-08-01 14:04:42 +01:00
Sebastian Dröge
38496eca7d
Pass events by value instead of reference
2017-08-01 13:59:12 +01:00
Sebastian Dröge
96a0668c5f
Add playbin example
2017-07-31 16:24:30 +01:00
Sebastian Dröge
db1f0f7bfb
Add Bus / Tokio example
2017-07-31 14:16:03 +01:00
Sebastian Dröge
03285a6311
Run everything through latest rustfmt-nightly
2017-07-31 12:16:42 +01:00
Sebastian Dröge
d0ac8b7fd3
Add gtksink example
2017-07-31 12:09:59 +01:00
Sebastian Dröge
f06bc0d6ef
Add event example and clean-up event/message constructor API
2017-07-30 15:49:25 +01:00
Sebastian Dröge
2c949a9a05
Add Event bindings
...
And make Message bindings more consistent
2017-07-30 15:06:44 +01:00
Sebastian Dröge
945d136acb
Cleanup pad probes examples a bit
2017-07-29 16:15:00 +01:00
Sebastian Dröge
0c3c4166e4
Add example for pad probes
2017-07-29 15:57:01 +01:00
Sebastian Dröge
77912e7164
Add example doing queries
2017-07-29 15:33:26 +01:00
Sebastian Dröge
aadf2e3b30
Move examples into bin subdirectory to simplify Cargo.toml
2017-07-25 01:33:54 +03:00
Sebastian Dröge
a94d4d583d
Re-export gst::ObjectExt as gst::GstObjectExt to prevent conflict with glib::ObjectExt
2017-07-13 10:36:38 +03:00
Sebastian Dröge
6461be1372
Convert launch examples to get the pipeline string from the commandline
2017-07-11 21:21:56 +03:00
Sebastian Dröge
9cfb83d6a2
Add Source support to GstBus, and the sync message handler
2017-07-11 19:29:16 +03:00
Sebastian Dröge
4c5aa49fa2
Run manual code through rustfmt
2017-07-11 00:33:24 +03:00
Sebastian Dröge
c0707bed94
Add initial caps bindings
2017-07-11 00:11:55 +03:00
Sebastian Dröge
9ae4a4f862
Add launch example using the GTK main loop
2017-07-05 19:10:58 +03:00
Sebastian Dröge
8f8ba45588
Use Object::set_property() instead of unsafe code for setting filesrc location
2017-07-05 15:18:25 +03:00
Sebastian Dröge
291f329fc3
Add Element::add_many(), ::remove_many(), Bin::link_many(), ::unlink_many()
2017-07-05 11:11:45 +03:00
Sebastian Dröge
e3902bbbf6
Add decodebin example and add some missing API for it
2017-07-05 10:40:02 +03:00
Sebastian Dröge
cb26c0aaed
Remove some useless message code
2017-07-03 18:45:59 +03:00
Sebastian Dröge
fc8046b9bd
Implement simple example application and clean up API
2017-07-03 18:08:43 +03:00