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
Sebastian Dröge
33fb38efd9
Remove traits for things that are not subclassed
2017-08-17 14:50:25 +03:00
Sebastian Dröge
41e812d075
Update docs
2017-08-17 13:10:30 +03:00
Sebastian Dröge
165d85646f
Move futures based BusStream from examples to the bindings
...
And hide behind the "futures" feature.
Fixes https://github.com/sdroege/gstreamer-rs/issues/26
2017-08-17 13:07:59 +03:00
Sebastian Dröge
08e2f6d917
Add Element::get_metadata(), get_pad_template(), get_pad_template_list() and DeviceProvider::get_metadata()
...
As wrapper around the C class functions.
Fixes https://github.com/sdroege/gstreamer-rs/issues/28
2017-08-17 12:49:58 +03:00
Sebastian Dröge
7991b4d8eb
Don't export tag name strings directly
...
They can be accessed via the Tag trait impls instead
2017-08-17 12:49:58 +03:00
Sebastian Dröge
1cb1cf9936
Implement Send+Sync for VideoInfo too
...
It's also immutable here.
2017-08-15 17:34:32 +03:00
fengalin
46327b231f
Define Sync and Send traits for AudioInfo
...
Fixes https://github.com/sdroege/gstreamer-rs/pull/27
2017-08-15 17:32:44 +03:00
Sebastian Dröge
b0307f9108
Fix build with --all-features and run it on travis
2017-08-15 13:46:16 +03:00
Sebastian Dröge
8a40fed0a4
Add some badges
2017-08-15 10:30:32 +03:00
Sebastian Dröge
f05c60402b
Add .travis.yml
2017-08-15 02:56:40 +03:00
Sebastian Dröge
dc703cc6e9
Add push_list/chain_list functions to Pad
2017-08-14 22:24:54 +03:00
Sebastian Dröge
de98b8039e
Add GstPadLinkCheck
2017-08-14 22:19:47 +03:00
Sebastian Dröge
97bca10484
Add GstRank
2017-08-14 22:18:34 +03:00
Sebastian Dröge
474749598e
Add GstElementFlags and suppressed_flags API of GstBin
2017-08-14 22:15:37 +03:00
Sebastian Dröge
56847216a0
Use byte-slice-cast trait instead of our own minimal version of it
2017-08-14 20:45:35 +03:00
Sebastian Dröge
e66bcf8a5d
Allow any Into<Fraction> for VideoInfo::fps() and VideoInfo::par()
2017-08-14 09:54:32 +03:00
Sebastian Dröge
77cb4da32a
Add ClockId and related waiting API, and SystemClock
...
Fixes https://github.com/sdroege/gstreamer-rs/issues/23
2017-08-14 01:41:37 +03:00
Sebastian Dröge
d6c869b691
Add more PlayerVideoOverlayVideoRenderer bindings
...
So that it can actually be used in a useful way.
2017-08-13 20:22:29 +03:00
Philippe Normand
d0433a7b94
player: expose set_config()
...
Fixes https://github.com/sdroege/gstreamer-rs/pull/25
2017-08-13 20:10:01 +03:00
Sebastian Dröge
b392c82ba9
Use gstreamer-video API in appsrc example and make frame generation a bit more efficient
2017-08-11 17:59:05 +03:00
Sebastian Dröge
b655c838b2
Add helper for converting a raw audio buffer to an array of integers/floats
2017-08-11 17:09:32 +03:00
Sebastian Dröge
4276cb6228
Simplify player example a bit
2017-08-11 15:48:12 +03:00
Philippe Normand
d654252e65
gstreamer: disable calculate_linear_regression
...
It's not binding friendly.
2017-08-11 15:42:28 +03:00
Philippe Normand
9540ddd596
gstreamer, gstreamer-app: fix Structure mutability
2017-08-11 15:42:28 +03:00
Philippe Normand
1e12354cd5
GstPlayer: make it build and add simple example
2017-08-11 15:42:28 +03:00
Philippe Normand
8badc33df9
gstreamer: expose version functions
2017-08-11 15:41:20 +03:00
Sebastian Dröge
38b97a14ad
Add initial, untested version of GstPlayer bindings
2017-08-11 15:41:20 +03:00
Sebastian Dröge
440ff3d365
Add gstreamer-video docs
2017-08-11 15:37:32 +03:00
Sebastian Dröge
93cc21112c
Don't re-export everything from the tags module
...
All the tags are supposed to be used via gst::tags::Title, etc to
prevent conflicts.
2017-08-11 15:32:28 +03:00
Sebastian Dröge
c36c8189ce
Add example to playbin example about how to connect/emit dynamic signals
...
... and get the audio track's tags whenever they change.
2017-08-11 15:31:59 +03:00
Sebastian Dröge
59af28e508
Simplify VideoFrame impl
2017-08-11 15:20:56 +03:00
Sebastian Dröge
1a3b556fb6
Make Buffer map bindings more simple and consistent
2017-08-11 15:20:43 +03:00
Sebastian Dröge
4b24ca1823
Add VideoOverlay bindings
2017-08-11 15:03:16 +03:00
Sebastian Dröge
cb8ca2c00e
Add VideoFrame bindings
2017-08-11 14:55:31 +03:00