Commit graph

56 commits

Author SHA1 Message Date
Sebastian Dröge d6f169866a togglerecord: Minor code cleanup 2019-07-03 18:44:25 +03:00
Sebastian Dröge ecbf7097de togglerecord: Don't hold any mutexes while adding/removing pads
Otherwise something might easily deadlock if the application is doing
something from the pad-added/pad-removed signals.
2019-07-03 18:43:58 +03:00
Sebastian Dröge 1f2d549a1e togglerecord: Register plugin as a static plugin in the example
Instead of doing complicated things with the plugin path and the
registry.
2019-07-02 10:51:54 +00:00
Guillaume Desmottes 53e530f7db port all plugins to new register API
Rank is now an enum rather than a u32
2019-06-04 14:35:10 +05:30
ahamedsajeer.15 dc45b7f8ac Add build.rs that provides a version number, release date and other details 2019-06-03 11:11:29 +00:00
Sebastian Dröge 2fc89ced15 Fix various compiler warnings 2019-05-28 04:43:54 +02:00
Sebastian Dröge fbee00caab Update for gstreamer gst_plugin_define! API changes 2019-05-27 20:31:39 +00:00
Sebastian Dröge fda1233163 Update some dependencies 2019-05-24 13:33:51 +02:00
Sebastian Dröge 9bccc50add Update for gstreamer-rs API changes 2019-05-24 13:09:32 +02:00
Jordan Petridis 83c53c6802
togglerecord: Update the gtk example to the exlicit-some api changes
Left over from 129f6a28b0
2019-04-22 09:41:42 +03:00
Sebastian Dröge 129f6a28b0 Update for gstreamer-rs/glib/etc API changes and add more explicit Some() 2019-04-16 10:10:16 +03:00
Sebastian Dröge afe8e8e32b Update versions to 0.5.0 2019-02-22 13:27:47 +02:00
Sebastian Dröge 6286e496ba Fix build with GLib and GTK changes 2019-02-07 09:54:03 +02:00
Sebastian Dröge 9db02cb55e Fixes for gstreamer-rs API changes
Creating pad templates can return None now.
2019-01-29 17:33:06 +02:00
François Laignel f5a398b21e Update gstreamer-rs/gstreamer bool to Result changes 2019-01-18 10:00:45 +02:00
François Laignel e930133bdf Update for gstreamer-rs MR 200
See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/merge_requests/200
2019-01-12 18:00:04 +01:00
Sebastian Dröge 04955f61d7 Update to reqwest 0.9, rand 0.6 and parking_lot 0.7 2018-12-19 14:32:03 +02:00
Sebastian Dröge f374d7fedf Remove unneeded ObjectSubclass::new() functions where not needed 2018-12-19 13:23:02 +02:00
Sebastian Dröge fb741f26f3 Update for glib property API changes 2018-12-18 11:23:45 +02:00
Sebastian Dröge 44da5074bd togglerecord: Don't call override_vfuncs()
It's called automatically for us already.
2018-12-13 12:02:38 +02:00
Sebastian Dröge 38ca1ef3cb Port gst-plugin-togglerecord to new subclassing API 2018-11-30 17:17:37 +02:00
Sebastian Dröge 32265412f3 Change all links/mentions from gst-plugin-rs to gst-plugins-rs 2018-11-26 11:52:09 +01:00
Thijs Vermeir a8e16d4815 register plugin static in integration test
After a `cargo clean` the shared library is not yet present if the test is started with `cargo test`.
2018-11-04 20:24:20 +01:00
Thijs Vermeir cee861f341 use BoolError for plugin registration 2018-11-04 20:24:20 +01:00
Sebastian Dröge 97cc1c8458 Change all references from GitHub to freedesktop.org GitLab 2018-11-03 20:24:21 +02:00
Sebastian Dröge ee3fc37f4c Switch to parking_lot Mutex/Condvar for lower overhead 2018-11-01 12:45:57 +02:00
Sebastian Dröge 628f5099eb Run everything through latest rustfmt 2018-10-11 13:49:48 +03:00
Sebastian Dröge f2deb2264b Fix various clippy warnings 2018-10-11 13:49:10 +03:00
Sebastian Dröge 046a0af6a1 Update versions to 0.4.0 2018-09-10 02:02:31 +03:00
Sebastian Dröge 5cac22d1c0 Switch gobject-subclass repository URI 2018-09-06 13:56:16 +03:00
Sebastian Dröge dcb3683232 Run everything through latest rustfmt 2018-07-27 13:35:58 +03:00
Sebastian Dröge bdfc95e6e8 Get rid of send-cell dependency and fix reference cycles 2018-07-27 13:35:24 +03:00
Sebastian Dröge 6e33313b78 Make use of downcast_ref() to prevent some clones 2018-07-12 08:35:09 +03:00
Sebastian Dröge b3089ca047 Use ObjectExt::notify() instead of the gobject-subclass variant 2018-07-11 16:12:10 +03:00
Sebastian Dröge 6803cb5fac Move gobject-subclass to its own repository 2018-05-01 17:55:27 +03:00
Sebastian Dröge 80793cd766 Move export/re-export cleanup 2018-05-01 17:43:52 +03:00
Sebastian Dröge 8bc3f12061 Run everything through rustfmt again 2018-05-01 17:16:12 +03:00
Sebastian Dröge c7103765db Run everything through rustfmt again 2018-04-05 11:36:10 +03:00
Sebastian Dröge 40f243dfc3 Move catch_panic_pad_function() into a generic place for all element subclasses 2018-04-05 11:34:57 +03:00
Sebastian Dröge da433f92af Run everything through latest rustfmt-nightly 2018-02-22 11:23:34 +01:00
Sebastian Dröge b7c06e0203 Fix build with improved Query API 2018-02-16 10:43:49 +02:00
Sebastian Dröge 714301d584 Don't require GStreamer 1.10
We're working just fine with 1.8 too
2018-01-15 09:34:53 +02:00
Sebastian Dröge 22c5f93d3b Fix various clippy warnings 2017-12-20 21:36:50 +02:00
Sebastian Dröge cbfb30c7b5 Run everything through rustfmt again 2017-12-20 19:30:32 +02:00
Sebastian Dröge 8ef6a1830c Fix build of togglerecord unit test 2017-12-16 18:26:12 +02:00
Sebastian Dröge 2ec85ac0b0 Run everything through rustfmt again 2017-12-16 17:42:42 +02:00
Sebastian Dröge 841252c5f7 Fix compilation after gstreamer-rs API changes 2017-12-16 17:42:32 +02:00
Sebastian Dröge 607cd154b8 Update for simplified force-keyunit event API 2017-12-10 22:45:06 +02:00
Sebastian Dröge 73d0615f10 Send force-keyunit events later
We must not unlock the main stream's mutex until everything is handled
correctly, otherwise the other streams might continue in an inconsistent
state.

As a side-effect, this will only ever request a keyframe if there
currently isn't one.
2017-12-10 13:18:43 +02:00
Sebastian Dröge 86d1676a67 Request a keyframe whenever we're going to wait for a keyframe 2017-12-10 12:38:18 +02:00