Use GitHub mirrors for gstreamer rust repos.

Those are the original repos that were later moved to freedesktop.org.
The author recently started updating them as mirrors.

Freedesktop.org goes down much more often than GitHub and we fetch
everything else from GitHub anyway.

It's better to depend on fewer hosting services to have fewer
interruptions.
This commit is contained in:
Arkadiusz Hiler 2022-07-25 13:18:20 +03:00
parent 67d504c37e
commit d957ff7c35
3 changed files with 16 additions and 16 deletions

2
.gitmodules vendored
View File

@ -54,4 +54,4 @@
url = https://github.com/videolan/dav1d.git url = https://github.com/videolan/dav1d.git
[submodule "gst-plugins-rs"] [submodule "gst-plugins-rs"]
path = gst-plugins-rs path = gst-plugins-rs
url = https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git url = https://github.com/sdroege/gst-plugin-rs

View File

@ -172,7 +172,7 @@ dependencies = [
[[package]] [[package]]
name = "gst-plugin-version-helper" name = "gst-plugin-version-helper"
version = "0.7.2" version = "0.7.2"
source = "git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs?tag=0.7.2#d0466b3eee114207f851b37cae0015c0e718f021" source = "git+https://github.com/sdroege/gst-plugin-rs?tag=0.7.2#d0466b3eee114207f851b37cae0015c0e718f021"
dependencies = [ dependencies = [
"chrono", "chrono",
] ]
@ -180,7 +180,7 @@ dependencies = [
[[package]] [[package]]
name = "gstreamer" name = "gstreamer"
version = "0.17.4" version = "0.17.4"
source = "git+https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b" source = "git+https://github.com/sdroege/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"cfg-if", "cfg-if",
@ -202,7 +202,7 @@ dependencies = [
[[package]] [[package]]
name = "gstreamer-audio" name = "gstreamer-audio"
version = "0.17.4" version = "0.17.4"
source = "git+https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b" source = "git+https://github.com/sdroege/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b"
dependencies = [ dependencies = [
"array-init", "array-init",
"bitflags", "bitflags",
@ -218,7 +218,7 @@ dependencies = [
[[package]] [[package]]
name = "gstreamer-audio-sys" name = "gstreamer-audio-sys"
version = "0.17.4" version = "0.17.4"
source = "git+https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b" source = "git+https://github.com/sdroege/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b"
dependencies = [ dependencies = [
"glib-sys", "glib-sys",
"gobject-sys", "gobject-sys",
@ -231,7 +231,7 @@ dependencies = [
[[package]] [[package]]
name = "gstreamer-base" name = "gstreamer-base"
version = "0.17.4" version = "0.17.4"
source = "git+https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b" source = "git+https://github.com/sdroege/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"cfg-if", "cfg-if",
@ -244,7 +244,7 @@ dependencies = [
[[package]] [[package]]
name = "gstreamer-base-sys" name = "gstreamer-base-sys"
version = "0.17.4" version = "0.17.4"
source = "git+https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b" source = "git+https://github.com/sdroege/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b"
dependencies = [ dependencies = [
"glib-sys", "glib-sys",
"gobject-sys", "gobject-sys",
@ -256,7 +256,7 @@ dependencies = [
[[package]] [[package]]
name = "gstreamer-sys" name = "gstreamer-sys"
version = "0.17.4" version = "0.17.4"
source = "git+https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b" source = "git+https://github.com/sdroege/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b"
dependencies = [ dependencies = [
"glib-sys", "glib-sys",
"gobject-sys", "gobject-sys",
@ -267,7 +267,7 @@ dependencies = [
[[package]] [[package]]
name = "gstreamer-video" name = "gstreamer-video"
version = "0.17.4" version = "0.17.4"
source = "git+https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b" source = "git+https://github.com/sdroege/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"cfg-if", "cfg-if",
@ -283,7 +283,7 @@ dependencies = [
[[package]] [[package]]
name = "gstreamer-video-sys" name = "gstreamer-video-sys"
version = "0.17.4" version = "0.17.4"
source = "git+https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b" source = "git+https://github.com/sdroege/gstreamer-rs?tag=0.17.4#6c9815f0594045ef668bf3fefbaf5e0846516d4b"
dependencies = [ dependencies = [
"glib-sys", "glib-sys",
"gobject-sys", "gobject-sys",

View File

@ -9,10 +9,10 @@ description = "Proton media converter"
[dependencies] [dependencies]
glib = "0.14" glib = "0.14"
gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", tag = "0.17.4" } gstreamer = { git = "https://github.com/sdroege/gstreamer-rs", tag = "0.17.4" }
gstreamer-base = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", tag = "0.17.4" } gstreamer-base = { git = "https://github.com/sdroege/gstreamer-rs", tag = "0.17.4" }
gstreamer-video = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", tag = "0.17.4" } gstreamer-video = { git = "https://github.com/sdroege/gstreamer-rs", tag = "0.17.4" }
gstreamer-audio = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", tag = "0.17.4" } gstreamer-audio = { git = "https://github.com/sdroege/gstreamer-rs", tag = "0.17.4" }
once_cell = "1.9" once_cell = "1.9"
crc32fast = "1.3" crc32fast = "1.3"
array-init = "2.0" array-init = "2.0"
@ -23,7 +23,7 @@ crate-type = ["cdylib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { git = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs", tag = "0.7.2" } gst-plugin-version-helper = { git = "https://github.com/sdroege/gst-plugin-rs", tag = "0.7.2" }
[profile.release] [profile.release]
lto = true lto = true
@ -35,7 +35,7 @@ panic = 'unwind'
opt-level = 1 opt-level = 1
#if you need local modifications to gstreamer-rs you can point to it here #if you need local modifications to gstreamer-rs you can point to it here
#[patch.'https://gitlab.freedesktop.org/gstreamer/gstreamer-rs'] #[patch.'https://github.com/sdroege/gstreamer-rs']
#gstreamer = { path = "../gstreamer-rs/gstreamer" } #gstreamer = { path = "../gstreamer-rs/gstreamer" }
#gstreamer-base = { path = "../gstreamer-rs/gstreamer-base" } #gstreamer-base = { path = "../gstreamer-rs/gstreamer-base" }
#gstreamer-video = { path = "../gstreamer-rs/gstreamer-video" } #gstreamer-video = { path = "../gstreamer-rs/gstreamer-video" }