Commit graph

876 commits

Author SHA1 Message Date
Fernando Jiménez Moreno
e7f32334c5 Add gst-editing-services to OSX deps list 2018-11-13 15:15:00 +01:00
Sebastian Dröge
8924af36e0 harness: Work around floating references issues in GstHarness
See https://gitlab.freedesktop.org/gstreamer/gstreamer/merge_requests/31
2018-11-13 14:45:20 +02:00
Sebastian Dröge
d7157a4279 Add the to-dot-file functions to the gst::Bin trait
This allows directly calling them on bins instead of using a global
function.
2018-11-11 10:14:43 +02:00
Sebastian Dröge
06d654760d Implement glib::SendUnique on Adapter
It can be safely sent between threads as long as all references are in
the same thread.
2018-11-10 13:27:37 +02:00
Markus Ebner
fbe6d5ce38 Add transmuxing example showing typefind, multiqueue and dynamic pad usage
This adds a usage example for the typefind and multiqueue elements, and dynamic pads.
2018-11-05 13:06:01 +01:00
Sebastian Dröge
f31827f194 Regenerate with latest gir
Gets rid of some unneeded property notification functions in GES
2018-11-05 11:18:31 +02:00
Sebastian Dröge
825bf7301e Update gir-files from gstreamer-rs-sys 2018-11-05 11:17:34 +02:00
Thibault Saunier
7360e50280 ges: Work around trait naming conflicts
Fixes #151
2018-11-04 16:55:33 -03:00
Thibault Saunier
6570d67828 ges: Mark more method as returning BoolError 2018-11-04 15:41:09 -03:00
Thijs Vermeir
25e0baf483 update autogenerated files 2018-11-04 19:14:35 +01:00
Thijs Vermeir
ba22a36cdb use BoolError for {Element,TypeFind,DeviceProvider}::register 2018-11-04 19:14:35 +01:00
Sebastian Dröge
6ae9cf2690 Run gitlab-ci also with Rust 1.28 2018-11-04 18:44:08 +02:00
Sebastian Dröge
9e9bc5122c Fix accidential usage of Rust 1.30 feature
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
   --> gstreamer-check/src/harness.rs:180:76
    |
180 |     pub fn crank_multiple_clock_waits(&mut self, waits: u32) -> Result<(), glib::BoolError> {
    |                                                                            ^^^^
2018-11-04 18:39:28 +02:00
Thibault Saunier
2c4f2c7de2 Fix WebRTC crate link in the README 2018-11-04 18:34:00 +02:00
Thibault Saunier
c687f38b50 ci: Lint before running test
No reason to run tests if linting didn't pass
2018-11-04 11:35:54 -03:00
Thibault Saunier
8639aed456 Generate bindings for the GStreamer Editing Services 2018-11-04 11:35:54 -03:00
Sebastian Dröge
fa312f8206 Fix repository name in migration note in README.md 2018-11-03 20:56:17 +02:00
Sebastian Dröge
352f1c80d4 Run everything through rustfmt 2018-11-03 20:28:58 +02:00
Sebastian Dröge
fb0178a4f2 Call gst::init() in message::test_other_fields() test at the beginning 2018-11-03 20:15:27 +02:00
Sebastian Dröge
f4a6aa4481 Change all references from GitHub to freedesktop.org GitLab 2018-11-03 20:08:42 +02:00
Sebastian Dröge
0ccd8f186f Use std::path to directly refer to path::Path 2018-11-02 16:05:57 +02:00
Sebastian Dröge
af4d08da17 Keep harness::{Ref, RefMut} in the module instead of re-exporting at the top-level 2018-11-02 15:23:29 +02:00
Sebastian Dröge
26a213bf9f Add accessors for the GstHarness struct fields 2018-11-02 14:32:09 +02:00
Sebastian Dröge
1937294faf Fix harness compilation with v1_16 feature 2018-11-02 13:58:51 +02:00
Sebastian Dröge
7a0bb763a6 Fix gstreamer-check build with default features and docs 2018-11-02 13:46:30 +02:00
Sebastian Dröge
33295b758e Add initial version of gstreamer-check
Covers GstHarness and GstTestClock

Fixes https://github.com/sdroege/gstreamer-rs/issues/148
2018-11-02 13:28:03 +02:00
Sebastian Dröge
5b75f11cd0 WIP initial version of harness/testclock bindings 2018-11-02 11:20:33 +02:00
Charlie Turner
98c69609cc Cturner/add tutorial 9 (#142)
Add basic-tutorial 9
2018-10-31 23:43:04 +02:00
Víctor Manuel Jáquez Leal
60c9cdfda1 Update autogenerated code with latest gir 2018-10-31 17:33:15 +02:00
Víctor Manuel Jáquez Leal
1be9f59091 Update gir-file to 1.14.4
Using Debian gir files

But kept the changes in commit 485d7e48 and 9265cc82
2018-10-31 17:33:15 +02:00
Víctor Manuel Jáquez Leal
4435cf41e3 fix README.md from previous merge 2018-10-31 17:33:15 +02:00
Arun Raghavan
f4685c4629 Use FlowError instead of FlowReturn as error part of Result
This prevents the possibility of a Result that is an Err(Ok), which
would not be meaningful.
2018-10-29 14:40:39 +00:00
Arun Raghavan
a4f25df045 enums: Implement the From trait for error/success
This implements the From trait for all *Error/*Success enums to the
corresponding *Return enum.
2018-10-28 18:41:27 +00:00
Sebastian Dröge
6325e0fcce Fix build with ser_de feature enabled 2018-10-28 17:48:42 +00:00
Sebastian Dröge
9f8ec3b35b Rename TagList::iter_tag_list() to TagList::iter_generic() and ::iter_tag_list_simple() to ::iter()
It's the generic iterator for going over values, and the simple one is
the one you usually want.

Also rename iterator types, but those are internal anyway.
2018-10-28 17:30:25 +00:00
Sebastian Dröge
8a6bcbcedb Run through rustfmt once again 2018-10-28 13:47:02 +00:00
Sebastian Dröge
54d8065dd3 Add TagList::iter_tag_list_simple() for getting a single value per tag 2018-10-28 13:46:28 +00:00
Sebastian Dröge
7207bbed69 Add various global functions to the pbutils library 2018-10-28 12:39:27 +00:00
Sebastian Dröge
0947c8f087 Rename gst::Bin traits from BinExt to GstBinExt to prevent conflicts with gtk::Bin 2018-10-28 11:30:41 +00:00
Guillaume Gomez
ff6b09d301 Improve mac osx installation instructions a bit 2018-10-23 00:17:19 +01:00
Jan Alexander Steffens (heftig)
fd2776f0b0 examples: Make gstreamer-rtsp-server-sys properly optional
Fixes https://github.com/sdroege/gstreamer-rs/issues/136
2018-10-19 17:57:04 +03:00
alexagv
e56b9e485b Add libvpx to brew install
brew install gst-plugins-good does not include libvpx by default causing the rtpfecserver example to fail as it uses vp8enc
2018-10-16 18:49:28 +03:00
Sebastian Dröge
e4ecc88825 Remove some unneeded lifetime annotations from video meta code and pass more parameters by reference 2018-10-11 11:58:01 +03:00
Sebastian Dröge
7189a6a7c1 Replace various transmutes in meta code with pointer casts 2018-10-11 11:58:01 +03:00
Sebastian Dröge
e2950749e8 Remove some unneeded lifetime annotations 2018-10-11 11:58:01 +03:00
Sebastian Dröge
d19c70694a Use ? operator instead of explictly propagating None 2018-10-11 11:58:01 +03:00
Sebastian Dröge
fa29872863 Fix various clippy warnings in the serde code 2018-10-11 11:58:01 +03:00
Sebastian Dröge
5d9a3b4272 Use ptr::add(i) instead of ptr::offset(i as isize) 2018-10-11 11:58:01 +03:00
Jordan Petridis
d085569b3e Add a rustfmt config
We stick to the default rustfmt style, but the config is needed
to ignore the auto-generated code.
2018-10-08 17:02:57 +03:00
Jordan Petridis
a585519db4 CI: Add a rustfmt check 2018-10-08 17:02:57 +03:00