Commit graph

3951 commits

Author SHA1 Message Date
Sebastian Dröge
8f49779329 For borrowing Structures, StructureRef has to be used
Otherwise DerefMut would have to go away.
2017-07-11 00:11:55 +03:00
Sebastian Dröge
c0707bed94 Add initial caps bindings 2017-07-11 00:11:55 +03:00
Sebastian Dröge
944c71f953 Implement StaticType for Structure 2017-07-10 17:13:49 +03:00
Sebastian Dröge
1264f2f5c0 Rename MessageImpl to MessageRef
These will show up as (possibly mutable) references later in API from
which we explicitly borrow references instead of getting a new one.
2017-07-10 17:12:24 +03:00
Sebastian Dröge
e43bf21ded Add initialization safety assertions
Ensure that GStreamer is initialized before allowing to call any
functions
2017-07-10 17:12:14 +03:00
Sebastian Dröge
992105b49f Implement basic GstStructure bindings 2017-07-10 17:10:15 +03:00
Sebastian Dröge
decf5da6d0 Add copyright notices 2017-07-07 14:47:28 +03:00
Sebastian Dröge
4808865371 Implement Builder for all Messages 2017-07-07 14:39:22 +03:00
Sebastian Dröge
9ae4a4f862 Add launch example using the GTK main loop 2017-07-05 19:10:58 +03:00
Sebastian Dröge
8f8ba45588 Use Object::set_property() instead of unsafe code for setting filesrc location 2017-07-05 15:18:25 +03:00
Sebastian Dröge
291f329fc3 Add Element::add_many(), ::remove_many(), Bin::link_many(), ::unlink_many() 2017-07-05 11:11:45 +03:00
Sebastian Dröge
e3902bbbf6 Add decodebin example and add some missing API for it 2017-07-05 10:40:02 +03:00
Sebastian Dröge
9b91024221 Implement all message parsing API 2017-07-05 01:47:33 +03:00
Sebastian Dröge
cb26c0aaed Remove some useless message code 2017-07-03 18:45:59 +03:00
Sebastian Dröge
9a364c26c6 Remove EOS message constructor for now
These should probably all use the builder pattern
2017-07-03 18:11:26 +03:00
Sebastian Dröge
fc8046b9bd Implement simple example application and clean up API 2017-07-03 18:08:43 +03:00
Sebastian Dröge
7a110ace10 Export parse_launch / parse_bin_from_description at the crate level 2017-07-03 17:57:57 +03:00
Sebastian Dröge
eeea572c96 Implement further parts of the Message machinery 2017-07-03 17:52:10 +03:00
Sebastian Dröge
602c3f257f Generate Bus/ElementFactory without traits, generate Plugin 2017-07-03 14:06:08 +03:00
Sebastian Dröge
aa3581cee9 Add initial Message/MiniObject bindings 2017-07-03 14:01:08 +03:00
Sebastian Dröge
2546045593 Implement init() around gst_init_check() 2017-07-03 12:26:40 +03:00
Sebastian Dröge
b14f0278c1 Regenerate everything with latest gir 2017-06-29 09:02:08 +03:00
Sebastian Dröge
771b5c8094 Add previously forgotten functions module 2017-06-25 11:26:16 +03:00
Sebastian Dröge
f777258564 Update .gir files to 1.12.1 2017-06-25 11:17:06 +03:00
Sebastian Dröge
fbadb070c6 Regenerate for updated .gir files 2017-06-25 11:15:44 +03:00
Sebastian Dröge
a6c8f62099 Update .gir files to 1.12.1 2017-06-25 11:15:44 +03:00
Sebastian Dröge
b792f4b5da Regenerate with latest gir and configure default concurrency to send+sync 2017-06-25 11:04:37 +03:00
Sebastian Dröge
e41fb76d2d Use new bool_return_is_error configuration for various functions
And ignore some wrong bindings.
2017-06-24 12:02:24 +03:00
Sebastian Dröge
6b4e3e9bd4 Switch to GIT versions of crates and regenerate with latest GIR 2017-06-24 11:55:28 +03:00
Sebastian Dröge
01d79cc53c Update to bitflags 0.9 2017-06-07 17:14:32 +03:00
Sebastian Dröge
706bf6687a Require GIT versions of glib-sys/gobject-sys
Otherwise development against GIT versions of glib-rs are not possible
due to linking in different versions of the same crate.
2017-05-22 11:35:40 +03:00
Sebastian Dröge
d92f865f36 Update Gst-1.0.gir with floating reference fixups from GIT master
And regenerate everything.
2017-05-17 15:59:16 +03:00
Sebastian Dröge
15b08a4293 Initial commit
Requires
  https://github.com/gtk-rs/gir/pull/365
  https://github.com/gtk-rs/gir/pull/364
to be merged for autogeneration of the bindings.

Requires
  https://github.com/gtk-rs/gir/issues/367
for fixing memory leaks.
2017-05-12 14:24:03 +02:00
Sebastian Dröge
c7582139c7 Update to glib-sys/gobject-sys 0.3.4 and update versions to 0.1.1 2017-05-10 11:02:35 +02:00
Sebastian Dröge
385ff00de5 Update GIR files from 1.12.0 final release 2017-05-10 10:52:03 +02:00
Sebastian Dröge
0dc9558ea2 Update gstreamer-app-sys Cargo.toml for GIT gobject/glib-sys 2017-04-13 20:43:36 +03:00
Sebastian Dröge
6401bef067 Add GstApp bindings 2017-04-13 20:37:30 +03:00
Sebastian Dröge
92b40d02a4 Revert last commit 2017-04-10 14:35:44 +03:00
Sebastian Dröge
1e63a820a6 Fix GstTag bindings 2017-04-10 14:10:33 +03:00
Sebastian Dröge
d572897521 Fix-up the last truncated struct 2017-04-09 23:35:21 +03:00
Sebastian Dröge
80a0bfbc8d Update to latest GIR and depend on GIT versions of glib-sys/gobject-sys
This now generates untruncated structs for almost everything.
2017-04-09 21:10:14 +03:00
Sebastian Dröge
57956cafad Install libgstreamer-plugins-base1.0-dev for Travis 2017-04-09 13:41:27 +03:00
Sebastian Dröge
1fdcf48303 Add -sys bindings for GStreamer base, audio, video, tag, pbutils 2017-04-09 13:34:20 +03:00
Sebastian Dröge
235840cf05 Add manual steps to the .travis.yml 2017-04-06 20:40:11 +03:00
Sebastian Dröge
7b7c4e6ef5 Add a workspace Cargo.toml 2017-04-06 20:31:53 +03:00
Sebastian Dröge
faab4f5ef6 Require Ubuntu Trusty 2017-04-06 20:28:01 +03:00
Sebastian Dröge
0e69b703cd Add travis.yml 2017-04-06 20:25:53 +03:00
Sebastian Dröge
b9cd7122ff Include all files 2017-04-06 20:20:28 +03:00
Sebastian Dröge
9a28247f6b Add license and various other fields to the Cargo.toml 2017-04-06 20:13:19 +03:00
Sebastian Dröge
ca59991a37 Renegerate gstreamer-sys 2017-04-05 17:28:50 +03:00