Commit graph

64 commits

Author SHA1 Message Date
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
Sebastian Dröge
9250ca4ccc Improve togglerecord example UI a bit 2017-12-10 12:38:18 +02:00
Sebastian Dröge
c6800e8a26 Fixes/simplifications for GStreamer API changes 2017-12-09 19:41:54 +02:00
Sebastian Dröge
63380e023a Add read-only "recording" property to togglerecord
This signals whether we are actually recording currently or not.
2017-12-06 14:21:12 +02:00
Sebastian Dröge
8873821340 Fix build after gstreamer-rs API changes 2017-12-05 23:34:01 +02:00
Sebastian Dröge
39b4d89790 The either crate is only a dependency for the togglerecord test 2017-12-05 19:30:23 +02:00
Sebastian Dröge
b25309a66a Add gst-plugin-togglerecord 2017-12-05 09:56:58 +02:00