Fix doubled Gst dependency and link library for gstreamer-webrtc-sys

This commit is contained in:
Sebastian Dröge 2018-04-04 10:27:54 +03:00
parent c1ae289fe8
commit a9a4608562
2 changed files with 2 additions and 3 deletions

View file

@ -13,5 +13,4 @@ external_libraries = [
]
[external_libraries]
gstreamer="Gst"
gstreamer_sdp="GstSdp"

View file

@ -14,8 +14,8 @@ fn main() {
}
fn find() -> Result<(), Error> {
let package_name = "gstreamer-player-1.0";
let shared_libs = ["gstplayer-1.0"];
let package_name = "gstreamer-webrtc-1.0";
let shared_libs = ["gstwebrtc-1.0"];
let version = "1.14";
if let Ok(lib_dir) = env::var("GTK_LIB_DIR") {