Commit graph

3729 commits

Author SHA1 Message Date
Sebastian Dröge
658fe26bf4 Fix various compiler warnings 2017-09-09 16:19:06 +03:00
Sebastian Dröge
15d893e556 Fix gst::DebugColorFlags type
It's a flags and not enum type
2017-09-09 16:17:18 +03:00
Sebastian Dröge
8caf88810c Don't implement Clone/Copy for PadProbeId
It's only possible to use it at most once.
2017-09-09 00:45:45 +03:00
Sebastian Dröge
24b8b383d8 Add comments from the C tutorial to basic-tutorial-1 2017-09-08 16:33:09 +03:00
Sebastian Dröge
6f6db8ac47 Add basic-tutorial-1 from the GStreamer tutorials
https://cgit.freedesktop.org/gstreamer/gst-docs/tree/examples/tutorials/basic-tutorial-1.c
2017-09-08 11:51:27 +03:00
Sebastian Dröge
7dfab61390 Conditionally use glib crate in player example 2017-09-01 14:12:26 +03:00
Sebastian Dröge
84a7a0ff6a Remove Cargo.lock
It's not a good idea to lock to specific versions for library crates.
2017-09-01 13:54:12 +03:00
Sebastian Dröge
be9f544d0a Update crate versions to 0.9.0
0.8 bugfix release development will be in the 0.8 branch
2017-09-01 13:44:07 +03:00
Sebastian Dröge
60885ceab6 Remove Cargo.lock
It's not a good idea to lock to specific versions for library crates.
2017-09-01 13:43:23 +03:00
Sebastian Dröge
062b596432 Fix-up various unused external crate warnings 2017-09-01 13:42:59 +03:00
Sebastian Dröge
a30582a1ef Add README.md to all crate subdirectories
This way it would show up on crates.io
2017-09-01 12:08:59 +03:00
Sebastian Dröge
380fb319ba 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 11:40:32 +03:00
Sebastian Dröge
15d05ed3ac Don't use versions for GIT dependencies in master 2017-08-31 13:34:52 +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
0d79fa041c Add .gitignore 2017-08-31 10:57:19 +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
Sebastian Dröge
6bdd779fd0 Update versions in master to 0.3.0
This will later become 0.3.0, 0.2 development happens in the 0.2 branch
2017-08-31 10:47:18 +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
2593c0c82a Update versions to 0.2.0 2017-08-28 19:28:41 +03:00
Sebastian Dröge
b695c6d521 Regenerate with latest gir 2017-08-28 19:27:17 +03:00
Sebastian Dröge
3f6d486142 Update to GIT master versions of glib-sys/gobject-sys
Fixes https://github.com/sdroege/gstreamer-sys/pull/1
2017-08-28 19:25:19 +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
b04215bfff Fix pkg-config prefix for travis 2017-08-18 13:15:09 +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