Commit graph

182 commits

Author SHA1 Message Date
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
Sebastian Dröge
18871110cd Add VideoInfo::convert() 2017-08-11 12:54:01 +03:00
Sebastian Dröge
b08980cd5e Add some more VideoInfo convenience API 2017-08-11 12:51:27 +03:00
Sebastian Dröge
830f0b7d83 Add VideoInfo and related bindings 2017-08-11 12:42:59 +03:00
Sebastian Dröge
3a50ca61e3 Add initial libgstvideo bindings
Only VideoFormat and VideoFormatInfo and related API for now.

https://github.com/sdroege/gstreamer-rs/issues/5
2017-08-11 00:41:55 +03:00
Sebastian Dröge
21c4173051 Fix up some integer types 2017-08-11 00:41:36 +03:00
Sebastian Dröge
885267ebee Add gst_audio_buffer_clip() bindings 2017-08-10 14:43:06 +03:00
Sebastian Dröge
e1538b6ca5 Add bindings for various audio channel position functions 2017-08-10 14:39:57 +03:00
Sebastian Dröge
8215770076 Move AudioFormat manual impls to new file 2017-08-10 11:24:16 +03:00
Sebastian Dröge
cff116c3aa Implement some more traits for AudioFormat and AudioFormatInfo 2017-08-10 11:14:08 +03:00
Sebastian Dröge
6b11b8b751 Explicitely ignore native endianness audio formats
We have to handle them separately depending on the current
configuration, and do so. Also fix things up there.
2017-08-10 10:51:22 +03:00
Sebastian Dröge
2b33885c1e Add some more convenience API to AudioInfo 2017-08-10 01:39:55 +03:00
Sebastian Dröge
cfe76a5fde Add missing assert_initialized_main_thread macro and use macros from glib 2017-08-10 01:33:13 +03:00
Sebastian Dröge
bc1f125abd Rename native endianness audio format constants to prevent conflicts 2017-08-10 01:30:02 +03:00
Sebastian Dröge
a411ae4173 Add GstStreamVolume interface 2017-08-10 01:28:29 +03:00
Sebastian Dröge
fefa4819cd Update Cargo.lock 2017-08-10 01:25:19 +03:00
Sebastian Dröge
3bb0f5d9df Remove unused things from gstreamer-audio 2017-08-10 01:25:19 +03:00
Sebastian Dröge
009bb7f39b Add getters/setters for all the segment fields 2017-08-10 01:25:19 +03:00
Sebastian Dröge
ec41babc09 Implement all the translation traits for AudioInfo and AudioFormatInfo 2017-08-10 01:25:19 +03:00
Sebastian Dröge
2452f7f6a9 Allow usage of Structures in GValues 2017-08-10 01:13:28 +03:00
Sebastian Dröge
a10d081c22 Fix FromValueOptional impl for Segment
Should be from_glib_none(), not from_glib_full()
2017-08-10 01:09:42 +03:00
Sebastian Dröge
c8910aae08 Initial gstreamer-audio bindings
Only wrapping AudioInfo and AudioFormatInfo and related for now.

https://github.com/sdroege/gstreamer-rs/issues/4
2017-08-09 20:33:45 +03:00
Sebastian Dröge
146b3092aa Minor miniobject code cleanup 2017-08-09 20:08:02 +03:00
Sebastian Dröge
f00af84105 Properly implement Eq/PartialEq/Debug for miniobjects 2017-08-09 20:08:02 +03:00
Sebastian Dröge
31b65e572c Add bindings for Bitmask values 2017-08-09 20:08:02 +03:00
Sebastian Dröge
07e9383ddf Simplify toc example a bit
There's not need for checking audio/video if both are going directly to
a fakesink anyway.
2017-08-09 19:40:20 +03:00
fengalin
04f09ebc86 Add bindings for GstToc/TocSetter
https://github.com/sdroege/gstreamer-rs/pull/22

Fixes https://github.com/sdroege/gstreamer-rs/issues/10
2017-08-09 19:38:39 +03:00
Sebastian Dröge
bc3cfc0195 Update GstPlayer-1.0.gir for corrected annotations 2017-08-08 11:09:25 +03:00
Sebastian Dröge
5cd94a279e Minor simplification in gtksink example 2017-08-07 18:59:44 +03:00
Sebastian Dröge
8accac8d75 Clean up gtksink example imports a bit 2017-08-07 14:18:24 +03:00
Sebastian Dröge
f1ac59a400 Autogenerate GstObject bindings again now that gir has support for renaming the trait 2017-08-07 10:24:43 +03:00