Change all references from GitHub to freedesktop.org GitLab

This commit is contained in:
Sebastian Dröge 2018-11-03 20:24:21 +02:00
parent ee3fc37f4c
commit 97cc1c8458
18 changed files with 47 additions and 47 deletions

View file

@ -1,4 +1,4 @@
# gst-plugin-rs [![crates.io](https://img.shields.io/crates/v/gst-plugin.svg)](https://crates.io/crates/gst-plugin) [![Build Status](https://travis-ci.org/sdroege/gst-plugin-rs.svg?branch=master)](https://travis-ci.org/sdroege/gst-plugin-rs) # gst-plugin-rs [![crates.io](https://img.shields.io/crates/v/gst-plugin.svg)](https://crates.io/crates/gst-plugin) [![pipeline status](https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/badges/master/pipeline.svg)](https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/commits/master)
Infrastructure for writing [GStreamer](https://gstreamer.freedesktop.org/) Infrastructure for writing [GStreamer](https://gstreamer.freedesktop.org/)
plugins and elements in the [Rust programming plugins and elements in the [Rust programming
@ -8,11 +8,11 @@ plugins.
Documentation for the crate containing the infrastructure for writing Documentation for the crate containing the infrastructure for writing
GStreamer plugins in Rust, [`gst-plugin`](gst-plugin), can be found GStreamer plugins in Rust, [`gst-plugin`](gst-plugin), can be found
[here](https://sdroege.github.io/rustdoc/gst-plugin/gst_plugin/). The whole [here](https://sdroege.github.io/rustdoc/gst-plugin/gst_plugin/). The whole
API builds upon the [application-side GStreamer bindings](https://github.com/sdroege/gstreamer-rs). API builds upon the [application-side GStreamer bindings](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs).
Check the README.md of that repository also for details about how to set-up Check the README.md of that repository also for details about how to set-up
your development environment. your development environment.
Various example plugins can be found in the [GIT repository](https://github.com/sdroege/gst-plugin-rs/). A blog post series about writing GStreamer plugins/elements can be found [here](https://coaxion.net/blog/2018/01/how-to-write-gstreamer-elements-in-rust-part-1-a-video-filter-for-converting-rgb-to-grayscale/)[2](https://coaxion.net/blog/2018/02/how-to-write-gstreamer-elements-in-rust-part-2-a-raw-audio-sine-wave-source/). Various example plugins can be found in the [GIT repository](https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/). A blog post series about writing GStreamer plugins/elements can be found [here](https://coaxion.net/blog/2018/01/how-to-write-gstreamer-elements-in-rust-part-1-a-video-filter-for-converting-rgb-to-grayscale/)[2](https://coaxion.net/blog/2018/02/how-to-write-gstreamer-elements-in-rust-part-2-a-raw-audio-sine-wave-source/).
For background and motivation, see the [announcement For background and motivation, see the [announcement
blogpost](https://coaxion.net/blog/2016/05/writing-gstreamer-plugins-and-elements-in-rust/) blogpost](https://coaxion.net/blog/2016/05/writing-gstreamer-plugins-and-elements-in-rust/)

View file

@ -2,16 +2,16 @@
name = "gst-plugin-audiofx" name = "gst-plugin-audiofx"
version = "0.4.0" version = "0.4.0"
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://github.com/sdroege/gst-plugin-rs" repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
[dependencies] [dependencies]
gobject-subclass = { git = "https://github.com/gtk-rs/gobject-subclass" } gobject-subclass = { git = "https://github.com/gtk-rs/gobject-subclass" }
gst-plugin = { path="../gst-plugin" } gst-plugin = { path="../gst-plugin" }
glib = { git = "https://github.com/gtk-rs/glib" } glib = { git = "https://github.com/gtk-rs/glib" }
gstreamer = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gstreamer-base = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer-base = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gstreamer-audio = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer-audio = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
byte-slice-cast = "0.2" byte-slice-cast = "0.2"
num-traits = "0.2" num-traits = "0.2"

View file

@ -34,6 +34,6 @@ plugin_define!(
b"MIT/X11\0", b"MIT/X11\0",
b"rsaudiofx\0", b"rsaudiofx\0",
b"rsaudiofx\0", b"rsaudiofx\0",
b"https://github.com/sdroege/rsplugin\0", b"https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs\0",
b"2016-12-08\0" b"2016-12-08\0"
); );

View file

@ -2,14 +2,14 @@
name = "gst-plugin-file" name = "gst-plugin-file"
version = "0.4.0" version = "0.4.0"
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://github.com/sdroege/gst-plugin-rs" repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
[dependencies] [dependencies]
url = "1.1" url = "1.1"
gst-plugin = { path="../gst-plugin" } gst-plugin = { path="../gst-plugin" }
gst-plugin-simple = { path="../gst-plugin-simple" } gst-plugin-simple = { path="../gst-plugin-simple" }
gstreamer = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
[lib] [lib]
name = "gstrsfile" name = "gstrsfile"

View file

@ -65,6 +65,6 @@ plugin_define!(
b"MIT/X11\0", b"MIT/X11\0",
b"rsfile\0", b"rsfile\0",
b"rsfile\0", b"rsfile\0",
b"https://github.com/sdroege/rsplugin\0", b"https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs\0",
b"2016-12-08\0" b"2016-12-08\0"
); );

View file

@ -2,14 +2,14 @@
name = "gst-plugin-flv" name = "gst-plugin-flv"
version = "0.4.0" version = "0.4.0"
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://github.com/sdroege/gst-plugin-rs" repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
[dependencies] [dependencies]
url = "1.1" url = "1.1"
gst-plugin = { path="../gst-plugin" } gst-plugin = { path="../gst-plugin" }
gst-plugin-simple = { path="../gst-plugin-simple" } gst-plugin-simple = { path="../gst-plugin-simple" }
gstreamer = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
num-rational = { version = "0.2", default-features = false, features = [] } num-rational = { version = "0.2", default-features = false, features = [] }
nom = "3.0" nom = "3.0"
flavors = {git = "https://github.com/rust-av/flavors.git"} flavors = {git = "https://github.com/rust-av/flavors.git"}

View file

@ -52,6 +52,6 @@ plugin_define!(
b"MIT/X11\0", b"MIT/X11\0",
b"rsflv\0", b"rsflv\0",
b"rsflv\0", b"rsflv\0",
b"https://github.com/sdroege/rsplugin\0", b"https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs\0",
b"2016-12-08\0" b"2016-12-08\0"
); );

View file

@ -2,7 +2,7 @@
name = "gst-plugin-http" name = "gst-plugin-http"
version = "0.4.0" version = "0.4.0"
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://github.com/sdroege/gst-plugin-rs" repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
[dependencies] [dependencies]
@ -10,7 +10,7 @@ url = "1.1"
gst-plugin = { path="../gst-plugin" } gst-plugin = { path="../gst-plugin" }
gst-plugin-simple = { path="../gst-plugin-simple" } gst-plugin-simple = { path="../gst-plugin-simple" }
reqwest = "0.8" reqwest = "0.8"
gstreamer = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
[lib] [lib]
name = "gstrshttp" name = "gstrshttp"

View file

@ -49,6 +49,6 @@ plugin_define!(
b"MIT/X11\0", b"MIT/X11\0",
b"rshttp\0", b"rshttp\0",
b"rshttp\0", b"rshttp\0",
b"https://github.com/sdroege/rsplugin\0", b"https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs\0",
b"2016-12-08\0" b"2016-12-08\0"
); );

View file

@ -2,7 +2,7 @@
name = "gst-plugin-simple" name = "gst-plugin-simple"
version = "0.4.0" version = "0.4.0"
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://github.com/sdroege/gst-plugin-rs" repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
[dependencies] [dependencies]
@ -10,8 +10,8 @@ url = "1.1"
glib = { git = "https://github.com/gtk-rs/glib" } glib = { git = "https://github.com/gtk-rs/glib" }
gobject-subclass = { git = "https://github.com/gtk-rs/gobject-subclass" } gobject-subclass = { git = "https://github.com/gtk-rs/gobject-subclass" }
gst-plugin = { path="../gst-plugin" } gst-plugin = { path="../gst-plugin" }
gstreamer = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gstreamer-base = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer-base = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
[lib] [lib]
name = "gst_plugin_simple" name = "gst_plugin_simple"

View file

@ -6,8 +6,8 @@ license = "LGPL-2.1+"
[dependencies] [dependencies]
glib = { git = "https://github.com/gtk-rs/glib" } glib = { git = "https://github.com/gtk-rs/glib" }
gstreamer = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gstreamer-video = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer-video = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gobject-subclass = { git = "https://github.com/gtk-rs/gobject-subclass" } gobject-subclass = { git = "https://github.com/gtk-rs/gobject-subclass" }
gst-plugin = { path = "../gst-plugin" } gst-plugin = { path = "../gst-plugin" }
gtk = { git = "https://github.com/gtk-rs/gtk", features = ["v3_6"], optional = true } gtk = { git = "https://github.com/gtk-rs/gtk", features = ["v3_6"], optional = true }

View file

@ -42,6 +42,6 @@ plugin_define!(
b"LGPL\0", b"LGPL\0",
b"togglerecord\0", b"togglerecord\0",
b"togglerecord\0", b"togglerecord\0",
b"https://github.com/sdroege/gst-plugin-rs\0", b"https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs\0",
b"2017-12-04\0" b"2017-12-04\0"
); );

View file

@ -2,17 +2,17 @@
name = "gst-plugin-tutorial" name = "gst-plugin-tutorial"
version = "0.4.0" version = "0.4.0"
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://github.com/sdroege/gst-plugin-rs" repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
[dependencies] [dependencies]
gobject-subclass = { git = "https://github.com/gtk-rs/gobject-subclass" } gobject-subclass = { git = "https://github.com/gtk-rs/gobject-subclass" }
gst-plugin = { path="../gst-plugin" } gst-plugin = { path="../gst-plugin" }
glib = { git = "https://github.com/gtk-rs/glib" } glib = { git = "https://github.com/gtk-rs/glib" }
gstreamer = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gstreamer-base = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer-base = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gstreamer-video = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer-video = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gstreamer-audio = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer-audio = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
byte-slice-cast = "0.2" byte-slice-cast = "0.2"
num-traits = "0.2" num-traits = "0.2"

View file

@ -43,6 +43,6 @@ plugin_define!(
b"MIT/X11\0", b"MIT/X11\0",
b"rstutorial\0", b"rstutorial\0",
b"rstutorial\0", b"rstutorial\0",
b"https://github.com/sdroege/gst-plugin-rs\0", b"https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs\0",
b"2017-12-30\0" b"2017-12-30\0"
); );

View file

@ -58,11 +58,11 @@ specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-v
## [0.1.0] - 2017-12-22 ## [0.1.0] - 2017-12-22
- Initial release of the `gst-plugin` crate. - Initial release of the `gst-plugin` crate.
[Unreleased]: https://github.com/sdroege/gst-plugin-rs/compare/0.3.0...HEAD [Unreleased]: https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/compare/0.3.0...HEAD
[0.2.1]: https://github.com/sdroege/gst-plugin-rs/compare/0.2.1...0.3.0 [0.2.1]: https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/compare/0.2.1...0.3.0
[0.2.1]: https://github.com/sdroege/gst-plugin-rs/compare/0.2.0...0.2.1 [0.2.1]: https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/compare/0.2.0...0.2.1
[0.2.0]: https://github.com/sdroege/gst-plugin-rs/compare/0.1.4...0.2.0 [0.2.0]: https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/compare/0.1.4...0.2.0
[0.1.4]: https://github.com/sdroege/gst-plugin-rs/compare/0.1.3...0.1.4 [0.1.4]: https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/compare/0.1.3...0.1.4
[0.1.3]: https://github.com/sdroege/gst-plugin-rs/compare/0.1.2...0.1.3 [0.1.3]: https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/compare/0.1.2...0.1.3
[0.1.2]: https://github.com/sdroege/gst-plugin-rs/compare/0.1.1...0.1.2 [0.1.2]: https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/compare/0.1.1...0.1.2
[0.1.1]: https://github.com/sdroege/gst-plugin-rs/compare/0.1.0...0.1.1 [0.1.1]: https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/compare/0.1.0...0.1.1

View file

@ -4,7 +4,7 @@ version = "0.4.0"
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["multimedia", "api-bindings"] categories = ["multimedia", "api-bindings"]
description = "Infrastructure for writing GStreamer plugins in Rust" description = "Infrastructure for writing GStreamer plugins in Rust"
repository = "https://github.com/sdroege/gst-plugin-rs/tree/master/gst-plugin" repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/tree/master/gst-plugin"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
readme = "README.md" readme = "README.md"
homepage = "https://gstreamer.freedesktop.org" homepage = "https://gstreamer.freedesktop.org"
@ -18,11 +18,11 @@ byteorder = "1.0"
gobject-subclass = { git = "https://github.com/gtk-rs/gobject-subclass" } gobject-subclass = { git = "https://github.com/gtk-rs/gobject-subclass" }
glib-sys = { git = "https://github.com/gtk-rs/sys" } glib-sys = { git = "https://github.com/gtk-rs/sys" }
gobject-sys = { git = "https://github.com/gtk-rs/sys" } gobject-sys = { git = "https://github.com/gtk-rs/sys" }
gstreamer-sys = { git = "https://github.com/sdroege/gstreamer-sys" } gstreamer-sys = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" }
gstreamer-base-sys = { git = "https://github.com/sdroege/gstreamer-sys" } gstreamer-base-sys = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" }
glib = { git = "https://github.com/gtk-rs/glib" } glib = { git = "https://github.com/gtk-rs/glib" }
gstreamer = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gstreamer-base = { git = "https://github.com/sdroege/gstreamer-rs" } gstreamer-base = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
[lib] [lib]
name = "gst_plugin" name = "gst_plugin"

View file

@ -1,4 +1,4 @@
# gst-plugin-rs [![crates.io](https://img.shields.io/crates/v/gst-plugin.svg)](https://crates.io/crates/gst-plugin) [![Build Status](https://travis-ci.org/sdroege/gst-plugin-rs.svg?branch=master)](https://travis-ci.org/sdroege/gst-plugin-rs) # gst-plugin-rs [![crates.io](https://img.shields.io/crates/v/gst-plugin.svg)](https://crates.io/crates/gst-plugin) [![pipeline status](https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/badges/master/pipeline.svg)](https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/commits/master)
Infrastructure for writing [GStreamer](https://gstreamer.freedesktop.org/) Infrastructure for writing [GStreamer](https://gstreamer.freedesktop.org/)
plugins and elements in the [Rust programming plugins and elements in the [Rust programming
@ -8,11 +8,11 @@ plugins.
Documentation for the crate containing the infrastructure for writing Documentation for the crate containing the infrastructure for writing
GStreamer plugins in Rust, [`gst-plugin`](gst-plugin), can be found GStreamer plugins in Rust, [`gst-plugin`](gst-plugin), can be found
[here](https://sdroege.github.io/rustdoc/gst-plugin/gst_plugin/). The whole [here](https://sdroege.github.io/rustdoc/gst-plugin/gst_plugin/). The whole
API builds upon the [application-side GStreamer bindings](https://github.com/sdroege/gstreamer-rs). API builds upon the [application-side GStreamer bindings](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs).
Check the README.md of that repository also for details about how to set-up Check the README.md of that repository also for details about how to set-up
your development environment. your development environment.
Various example plugins can be found in the [GIT repository](https://github.com/sdroege/gst-plugin-rs/). A blog post series about writing GStreamer plugins/elements can be found [here](https://coaxion.net/blog/2018/01/how-to-write-gstreamer-elements-in-rust-part-1-a-video-filter-for-converting-rgb-to-grayscale/). Various example plugins can be found in the [GIT repository](https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/). A blog post series about writing GStreamer plugins/elements can be found [here](https://coaxion.net/blog/2018/01/how-to-write-gstreamer-elements-in-rust-part-1-a-video-filter-for-converting-rgb-to-grayscale/).
For background and motivation, see the [announcement For background and motivation, see the [announcement
blogpost](https://coaxion.net/blog/2016/05/writing-gstreamer-plugins-and-elements-in-rust/) blogpost](https://coaxion.net/blog/2016/05/writing-gstreamer-plugins-and-elements-in-rust/)

View file

@ -117,7 +117,7 @@ pub unsafe trait BaseSrcBase:
.map(|f| { .map(|f| {
let mut buffer: *mut gst_ffi::GstBuffer = ptr::null_mut(); let mut buffer: *mut gst_ffi::GstBuffer = ptr::null_mut();
// FIXME: Wrong signature in -sys bindings // FIXME: Wrong signature in -sys bindings
// https://github.com/sdroege/gstreamer-sys/issues/3 // https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/issues/3
let buffer_ref = &mut buffer as *mut _ as *mut gst_ffi::GstBuffer; let buffer_ref = &mut buffer as *mut _ as *mut gst_ffi::GstBuffer;
let ret: gst::FlowReturn = from_glib(f(self.to_glib_none().0, offset, length, buffer_ref)); let ret: gst::FlowReturn = from_glib(f(self.to_glib_none().0, offset, length, buffer_ref));
@ -485,7 +485,7 @@ where
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType); let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
let imp = element.get_impl(); let imp = element.get_impl();
// FIXME: Wrong signature in -sys bindings // FIXME: Wrong signature in -sys bindings
// https://github.com/sdroege/gstreamer-sys/issues/3 // https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/issues/3
let buffer_ptr = buffer_ptr as *mut *mut gst_ffi::GstBuffer; let buffer_ptr = buffer_ptr as *mut *mut gst_ffi::GstBuffer;
panic_to_error!(&wrap, &element.panicked(), gst::FlowReturn::Error, { panic_to_error!(&wrap, &element.panicked(), gst::FlowReturn::Error, {