Commit graph

2684 commits

Author SHA1 Message Date
Sebastian Dröge
a0d2f0e98f Port URIHandler subclassing 2018-11-21 16:14:06 +02:00
Sebastian Dröge
d2f00ca1e0 Allow passing normal strings to gst_plugin_define!() without explicit \0 at the end
See https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/issues/38
2018-11-21 16:14:06 +02:00
Sebastian Dröge
9ff906eb8e Declare correct major/minor plugin versions based on bindings configuration
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/issues/37
2018-11-21 16:14:06 +02:00
Sebastian Dröge
56319f9294 Move subclassing infrastructure into the main bindings
And port Element bindings to the new infrastructure.
2018-11-21 16:14:06 +02:00
Sebastian Dröge
d6ce094cfd Check for successful typefind registration in typefind unit test 2018-11-20 11:15:03 +02:00
Víctor Manuel Jáquez Leal
284992d83a Add VideoFrame::from_glib_full() constructor
Thus it would be possible to instantiate gst_video::VideoFrame from
FFI's VideoFrame created outside of gstreamer_video's crate.

Fixes #152
2018-11-16 11:45:38 +01:00
Christian Meissl
533e4af669 net: Actually create an PTP clock instead of NTP clock 2018-11-15 18:27:45 +02:00
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
29d17faf09 Fix tests and enable them on CI
gstreamer-rtsp-server and gstreamer-editing-services are disabled for
now until there's a new release of them, or once we start building
against git master of them.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/issues/16
2018-11-11 18:06:27 +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
c9c16c9a25 Update gir 2018-11-11 08:39:44 +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
Sebastian Dröge
7e79ddd335 Update CHANGELOG.md for 0.6.1 2018-11-10 12:27:38 +02:00
Sebastian Dröge
e456ca724b Remove spurious Cargo.build file 2018-11-10 11:10:18 +02:00
Sebastian Dröge
2a73d29e71 Fix gstreamer-check library link name 2018-11-10 11:07:09 +02:00
Sebastian Dröge
2a307d5361 Add CHANGELOG.md to gstreamer-editing-services 2018-11-10 11:04:31 +02:00
Sebastian Dröge
797e82dce3 Fix gstreamer-check-sys crate name in README.md 2018-11-10 11:04:09 +02:00
Russel Winder
c4666a4208 mpegts: Updates for the new boxed types in MPEG-TS library of gst_plugins_bad. 2018-11-08 09:06:47 +00: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
Sebastian Dröge
75cda423fe Regenerate with latest gir
Solves two issues from https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/issues/16
2018-11-05 11:16:27 +02:00
Sebastian Dröge
ee9473d833 Update gir to the latest version 2018-11-05 11:16:27 +02:00
Sebastian Dröge
e254bdd33d Update GstAudio-1.0.gir with fixed types of Pack/Unpack function
See https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/4
2018-11-05 11:16:27 +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
6b197df98c Run gitlab-ci also with Rust 1.28 2018-11-04 18:50:50 +02: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
53ad4d0862 Remove rustfmt check from gitlab-ci.yml
All files are autogenerated and don't conform to what rustfmt would do
2018-11-03 17:54:12 +00:00
Sebastian Dröge
3b2b70ea0a Change all references from GitHub to freedesktop.org GitLab 2018-11-03 17:54:12 +00: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
Thibault Saunier
0ca8a2f505 ges: Regenerate with now fixed TimelineElement.set_childXXX methods 2018-11-02 14:47:57 +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
983d1a3405 Add initial version of gstreamer-check-sys 2018-11-02 13:23:52 +02:00
Sebastian Dröge
f34757b21f Add GstCheck-1.0.gir and fixups 2018-11-02 13:23:52 +02:00