Commit graph

246 commits

Author SHA1 Message Date
Sebastian Dröge
ca8b2f5406 Fix documentation URIs 2017-09-15 00:50:03 +03:00
Sebastian Dröge
1e2d9fa691 Update CHANGELOG.md for 0.8.1 2017-09-15 00:37:22 +03:00
Sebastian Dröge
7f58c814a0 Update versions to 0.8.1 2017-09-14 21:55:28 +03:00
Sebastian Dröge
59c7ac6788 Also implement Sync+Send for Event and Message 2017-09-14 21:47:43 +03:00
fengalin
01d7501da2 Implement Sync and Send for Query
Fixes https://github.com/sdroege/gstreamer-rs/pull/35
2017-09-14 21:47:37 +03:00
Sebastian Dröge
c956d082cc Use while-let and CLOCK_TIME_NONE for the bus.timed_pop() loops in the examples/tutorials 2017-09-14 21:47:23 +03:00
Sebastian Dröge
5d5b1e6908 Fix various clippy warnings in examples 2017-09-14 21:47:06 +03:00
Sebastian Dröge
35aeaa1395 Run everything through latest rustfmt-nightly 2017-09-14 21:46:40 +03:00
Sebastian Dröge
74ac0f9cdb Fix/hide various clippy warnings in gstreamer 2017-09-14 21:45:56 +03:00
Sebastian Dröge
3b66ea66e1 Fix various clippy warnings in gstreamer-video 2017-09-14 21:45:46 +03:00
Sebastian Dröge
d99e15aa30 Fix/hide various clippy warnings in gstreamer-player 2017-09-14 21:45:30 +03:00
Sebastian Dröge
6674243cc7 Fix Player constructor on GStreamer 1.12 if a video renderer or signal dispatcher are given 2017-09-10 15:28:43 +03:00
Sebastian Dröge
556b0197fc Conditionally use glib crate in player example 2017-09-01 14:13:16 +03:00
Sebastian Dröge
4900fbe293 Remove Cargo.lock
It's not a good idea to lock to specific versions for library crates.
2017-09-01 13:53:17 +03:00
Sebastian Dröge
5203e80c38 Fix-up various unused external crate warnings 2017-09-01 13:53:02 +03:00
Sebastian Dröge
67d5f06f3b Add README.md to all crate subdirectories
This way it would show up on crates.io
2017-09-01 12:09:12 +03:00
Sebastian Dröge
7a0b380407 Don't return &'static references from functions but give them a generic lifetime
https://github.com/rust-lang/rust/pull/42417#issue-233404573
2017-09-01 12:09:12 +03:00
Sebastian Dröge
7bf0140d27 Use releases instead of GIT for all the dependencies 2017-08-31 13:35:12 +03:00
Sebastian Dröge
3d1a7efb64 Work around gtk/gdk bindings bug in gtkvideooverlay example
https://github.com/gtk-rs/gtk/issues/570
2017-08-31 13:35:12 +03:00
Sebastian Dröge
c94eb34f34 Add LICENSE files to all crate subdirectories 2017-08-31 13:34:52 +03:00
Sebastian Dröge
953817e257 Add link to documentation to README.md 2017-08-31 13:32:09 +03:00
Sebastian Dröge
d3d00130df Add links to homepage and proper docs
docs.rs can't generate our docs due to missing C libraries
2017-08-31 13:04:19 +03:00
Sebastian Dröge
0454a9cb95 Ignore some now generated functions for which we have manual implementations 2017-08-31 12:13:44 +03:00
Sebastian Dröge
659512b268 Fixup documentation and work around rust-stripper bug
https://github.com/GuillaumeGomez/rustdoc-stripper/issues/46
2017-08-31 12:13:44 +03:00
Sebastian Dröge
fdad9ad8b0 Add manual items for various miniobjects 2017-08-31 12:13:44 +03:00
Sebastian Dröge
14d2b5d257 Add .gitignore 2017-08-31 10:56:36 +03:00
Sebastian Dröge
6450fec398 Update versions to 0.8.0 2017-08-31 10:53:45 +03:00
Philippe Normand
facaae6be9 examples: Quartz support for the gtkvideooverlay example
Fixes https://github.com/sdroege/gstreamer-rs/pull/31
2017-08-30 18:08:00 +03:00
Sebastian Dröge
dae1a51764 Work around rustdoc bug with impls on type aliases
https://github.com/rust-lang/rust/issues/44182
2017-08-30 15:12:11 +03:00
Sebastian Dröge
52c013b834 Regenerate everything with latest GIR 2017-08-30 14:45:25 +03:00
Sebastian Dröge
f0935d7e1e Add remaining gst_init() assertions 2017-08-30 14:39:09 +03:00
Sebastian Dröge
f05df73088 Add various gst_init() assertions to video/app bindings
audio and core should come next.

Also print something more meaningful than using assert_eq!().
2017-08-30 12:48:01 +03:00
Sebastian Dröge
da1a0c31d8 Add video overlay example, using GTK and only support Unix/X11 for now 2017-08-29 15:44:33 +03:00
Sebastian Dröge
046edc5efd Add initial 0.8.0 (basically empty) CHANGELOG.md
Another release preparation.
2017-08-29 15:44:33 +03:00
Sebastian Dröge
58998af124 Fix examples build again 2017-08-29 11:56:30 +03:00
Sebastian Dröge
8013169e09 Add constants for SECOND, MSECOND, USECOND, NSECOND
And use them in the examples.
2017-08-29 11:07:59 +03:00
Sebastian Dröge
083a6b6eeb Update glib/gtk/etc versions, and gstreamer-sys
Fixes https://github.com/sdroege/gstreamer-rs/pull/30
2017-08-29 11:03:33 +03:00
Sebastian Dröge
9057456095 Update README.md to link to the older bindings
As part of release preparations
2017-08-28 20:39:33 +03:00
Sebastian Dröge
342d5ab935 Add signal connectors for property notifications
Have to hide some properties again at a later time, which have actual
getter/setter functions already. We only need the notification signals
for those.

Depends on the GIR patch in https://github.com/gtk-rs/gir/pull/441
2017-08-18 17:43:55 +03:00
Sebastian Dröge
337f00a85c Implement SetValueOptional for Structure 2017-08-18 16:28:08 +03:00
Sebastian Dröge
14adb331ec Implement StaticType on the actual MiniObjects, not the GstRc wrapper 2017-08-18 16:21:49 +03:00
Sebastian Dröge
6c4ee55f27 Implement SetValueOptional for GstRc<T> 2017-08-18 15:38:51 +03:00
Sebastian Dröge
489e6dc456 Fix pkg-config prefix for travis 2017-08-18 13:13:56 +03:00
Sebastian Dröge
9d9dce348b Enable cargo caching on travis 2017-08-17 18:31:32 +03:00
Sebastian Dröge
c235d90834 Fix compilation with --features tokio in the examples 2017-08-17 18:16:48 +03:00
Sebastian Dröge
0bc43ed053 Make gtk dependency optional in the examples 2017-08-17 18:07:48 +03:00
Sebastian Dröge
f751afc0fb Add prelude modules to all cratest that only re-export the traits
And use those in the examples instead of blanket * imports
2017-08-17 18:02:25 +03:00
Sebastian Dröge
767bd0537e Only re-export traits once 2017-08-17 16:32:17 +03:00
Sebastian Dröge
50a1535771 Add ParseContext bindings and corresponding functions
And use it in the launch example to print more useful error information,
like which elements are missing.
2017-08-17 16:17:02 +03:00
Sebastian Dröge
e7a0543c73 Clean up global functions 2017-08-17 15:31:00 +03:00