Sebastian Dröge
8fd859a45f
Update documentation to GitLab pages
2018-11-26 15:45:38 +01:00
Sebastian Dröge
5d40a3ba2d
Run everything through rustfmt again
2018-11-26 14:37:42 +01:00
Sebastian Dröge
65b77971ef
Clean up imports a bit
2018-11-26 12:57:46 +01:00
Sebastian Dröge
5b98f9def0
Onle re-export traits from the pbutils prelude
2018-11-26 12:57:46 +01:00
Sebastian Dröge
00a5fecdbb
Remove EncodingTarget::add_profile() and consider it immutable
2018-11-26 12:57:46 +01:00
Sebastian Dröge
1cecb1c8ab
Add copyright header
2018-11-26 12:57:46 +01:00
Sebastian Dröge
1b7c8868a9
Store encoding profiles inside the container builder as a Vec
2018-11-26 12:57:46 +01:00
Sebastian Dröge
2df623c09a
Remove unnecessary mut
2018-11-26 12:57:46 +01:00
Sebastian Dröge
682ca91070
Remove automatically inserted docs from git
2018-11-26 12:57:46 +01:00
Thiago Santos
e09f23e689
More encoding_profile binding improvements
...
- enable is_equal function again (unsure why it was disabled)
- remove restriction-caps property, encoding-profile objects are
immutable
- remove cast need by using IsA<EncodingProfile> in parameters and
returning the correct type of encodingprofile subclass from the build()
functions. It used a internal hack for storing those IsA objects in
order to keep the API clean and ready to be used, this should be sorted
out as soon as we figure out how to store them in the buidlers.
- encodebin example: remove Result error propagation when it is caused
by programming mistakes. A panic will happen in those cases.
- run rustfmt
2018-11-26 12:57:46 +01:00
Thiago Santos
6cb7f602d1
encoding_profile: set_restriction is transfer-full not transfer-none
...
Avoid refcounting mistakes by using the right converting functions
before calling the ffi layer functions
2018-11-26 12:57:46 +01:00
Thiago Santos
15da7bca0e
EncodingProfile: remove setters and constructors, use builders
...
Provide builders for the EncodingProfile so that the created objects are
imutable and can have the Send and Sync traits
2018-11-26 12:57:46 +01:00
Thiago Santos
69ae94eb37
encoding_profile: add builders for all types
2018-11-26 12:57:46 +01:00
Thiago Santos
2a1d5e65bb
encodebin: add an example for encodebin usage
2018-11-26 12:57:46 +01:00
Sebastian Dröge
72a30a869a
Update GES version to 0.12.1
2018-11-26 12:57:46 +01:00
Thiago Santos
307637c7bd
pbutils: adding encoding-profile bindings
2018-11-26 12:57:46 +01:00
Thibault Saunier
f9c95b62a4
ges: Work around trait naming conflicts
...
Fixes #151
2018-11-26 12:57:46 +01:00
Thibault Saunier
4ec7288f56
ges: Mark more method as returning BoolError
2018-11-26 12:57:46 +01:00
Thibault Saunier
0d5ea8e452
Generate bindings for the GStreamer Editing Services
2018-11-26 12:57:46 +01:00
Sebastian Dröge
a17449e2be
Run everything through rustfmt
2018-11-26 12:57:45 +01:00
Sebastian Dröge
9dd6053dbd
Update gstreamer-check version to 0.12.1
2018-11-26 12:57:45 +01:00
Sebastian Dröge
5aa3b3908e
harness: Work around floating references issues in GstHarness
...
See https://gitlab.freedesktop.org/gstreamer/gstreamer/merge_requests/31
2018-11-26 12:57:45 +01:00
Sebastian Dröge
2a222987d1
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-26 12:57:45 +01:00
Sebastian Dröge
5ae517d093
Use std::path to directly refer to path::Path
2018-11-26 12:57:45 +01:00
Sebastian Dröge
fcb3ee9045
Keep harness::{Ref, RefMut} in the module instead of re-exporting at the top-level
2018-11-26 12:57:45 +01:00
Sebastian Dröge
ea12ab3cf0
Add accessors for the GstHarness struct fields
2018-11-26 12:57:45 +01:00
Sebastian Dröge
8c37ad1372
Fix harness compilation with v1_16 feature
2018-11-26 12:57:45 +01:00
Sebastian Dröge
0799647874
Fix gstreamer-check build with default features and docs
2018-11-26 12:57:45 +01:00
Sebastian Dröge
2a2ffa45c9
Add initial version of gstreamer-check
...
Covers GstHarness and GstTestClock
Fixes https://github.com/sdroege/gstreamer-rs/issues/148
2018-11-26 12:57:45 +01:00
Sebastian Dröge
be8f29c9f7
WIP initial version of harness/testclock bindings
2018-11-26 12:57:45 +01:00
Sebastian Dröge
499a99070e
Update gir-files from gstreamer-sys
2018-11-26 12:57:45 +01:00
Sebastian Dröge
7e57b36f00
Run everything through rustfmt
2018-11-26 12:56:01 +01:00
Sebastian Dröge
135afc7e9c
Implement glib::SendUnique on Adapter
...
It can be safely sent between threads as long as all references are in
the same thread.
2018-11-26 12:56:01 +01:00
Sebastian Dröge
855f721230
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-26 12:56:01 +01:00
Christian Meissl
13a1d5d7d0
net: Actually create an PTP clock instead of NTP clock
2018-11-26 12:56:01 +01:00
Sebastian Dröge
574ad233b4
Implement Send/Sync for VideoFrame
...
Closes #153
2018-11-26 12:08:08 +01:00
Sebastian Dröge
9a059583c9
Run everything through rustfmt
2018-11-07 23:59:08 +02:00
Sebastian Dröge
d7d965c437
Run gitlab-ci also with Rust 1.28
2018-11-07 23:55:20 +02:00
Thibault Saunier
85e1e196c4
Fix WebRTC crate link in the README
2018-11-07 23:55:11 +02:00
Thibault Saunier
3c5b4ade92
ci: Lint before running test
...
No reason to run tests if linting didn't pass
2018-11-07 23:55:05 +02:00
Sebastian Dröge
f5c7ae06de
Fix repository name in migration note in README.md
2018-11-07 23:54:58 +02:00
Sebastian Dröge
859ea53117
Call gst::init() in message::test_other_fields() test at the beginning
2018-11-07 23:54:49 +02:00
Sebastian Dröge
f53f5f92a4
Change all references from GitHub to freedesktop.org GitLab
2018-11-07 23:54:16 +02:00
Arun Raghavan
d0c124db15
enums: Implement the From trait for error/success
...
This implements the From trait for all *Error/*Success enums to the
corresponding *Return enum.
2018-11-07 23:51:39 +02:00
Jan Alexander Steffens (heftig)
b1c538dee2
examples: Make gstreamer-rtsp-server-sys properly optional
...
Fixes https://github.com/sdroege/gstreamer-rs/issues/136
2018-11-07 23:51:29 +02:00
Jordan Petridis
16574e87d6
Add a rustfmt config
...
We stick to the default rustfmt style, but the config is needed
to ignore the auto-generated code.
2018-11-07 23:50:52 +02:00
Jordan Petridis
c3e7ab2f61
CI: Add a rustfmt check
2018-11-07 23:50:52 +02:00
Jordan Petridis
947ddc809d
CI: Cache the cargo registry
2018-11-07 23:50:52 +02:00
Jordan Petridis
4c9cf04f8a
CI: add color to the cargo output
2018-11-07 23:50:52 +02:00
Jordan Petridis
ef9591807f
CI: Add initial gitlab-ci config
...
Duplicates the functionality of the travis config
2018-11-07 23:50:52 +02:00