[package]
name = "examples"
version = "0.16.0"
license = "MIT"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
edition = "2018"

[dependencies]
glib = "0.10"
gstreamer = { version = "0.16", path = "../gstreamer" }
gstreamer-gl = { version = "0.16", path = "../gstreamer-gl", optional = true }
gstreamer-app = { version = "0.16", path = "../gstreamer-app" }
gstreamer-audio = { version = "0.16", path = "../gstreamer-audio" }
gstreamer-base = { version = "0.16", path = "../gstreamer-base" }
gstreamer-video = { version = "0.16", path = "../gstreamer-video" }
gstreamer-pbutils = { version = "0.16", path = "../gstreamer-pbutils" }
gstreamer-player = { version = "0.16", path = "../gstreamer-player", optional = true }
gstreamer-editing-services = { version = "0.16", path = "../gstreamer-editing-services", optional = true }
gstreamer-sdp = { version = "0.16", path = "../gstreamer-sdp", optional = true }
gstreamer-rtsp = { version = "0.16", path = "../gstreamer-rtsp", optional = true }
gstreamer-rtsp-server = { version = "0.16", path = "../gstreamer-rtsp-server", optional = true }
gstreamer-rtsp-server-sys = { version = "0.9", features = ["v1_8"], optional = true }
gtk = { version = "0.9", optional = true }
gdk = { version = "0.13", optional = true }
gio = { version = "0.9", optional = true }
anyhow = "1.0"
derive_more = "0.99.5"
futures = "0.3"
byte-slice-cast = "0.3"
cairo-rs = { version = "0.9", features=["use_glib"], optional = true }
cairo-sys-rs = { version = "0.10", features=["use_glib"], optional = true }
pango = { version = "0.9", optional = true }
pangocairo = { version = "0.10", optional = true }
glutin = { version = "0.21", optional = true }
winit = { version = "0.19", optional = true }
once_cell = "1.0"

[build-dependencies]
gl_generator = { version = "0.14", optional = true }

[features]
default = []
gst-player = ["gstreamer-player"]
ges = ["gstreamer-editing-services"]
gtksink = ["gtk", "gio"]
gtkvideooverlay = ["gtk", "gdk", "gio"]
gtkvideooverlay-x11 = ["gtkvideooverlay"]
gtkvideooverlay-quartz = ["gtkvideooverlay"]
gst-rtsp-server = ["gstreamer-rtsp-server", "gstreamer-rtsp", "gstreamer-sdp"]
gst-rtsp-server-record = ["gstreamer-rtsp-server-sys", "gstreamer-rtsp-server", "gstreamer-rtsp", "gio"]
v1_10 = ["gstreamer/v1_10"]
pango-cairo = ["pango", "pangocairo", "cairo-rs"]
overlay-composition = ["pango", "pangocairo", "cairo-rs", "cairo-sys-rs" ]
gl = ["gstreamer-gl", "gl_generator", "glutin"]
gl-egl = ["gstreamer-gl/egl"]
gl-x11 = ["gstreamer-gl/x11"]
gl-wayland = ["gstreamer-gl/wayland"]

[[bin]]
name = "appsink"

[[bin]]
name = "appsrc"

[[bin]]
name = "custom_events"
required-features = ["v1_10"]

[[bin]]
name = "custom_meta"

[[bin]]
name = "decodebin"

[[bin]]
name = "encodebin"

[[bin]]
name = "events"

[[bin]]
name = "gtksink"
required-features = ["gtksink"]

[[bin]]
name = "gtkvideooverlay"
required-features = ["gtkvideooverlay"]

[[bin]]
name = "iterator"

[[bin]]
name = "launch_glib_main"

[[bin]]
name = "launch"

[[bin]]
name = "transmux"

[[bin]]
name = "pad_probes"

[[bin]]
name = "playbin"

[[bin]]
name = "player"
required-features = ["gst-player"]

[[bin]]
name = "queries"

[[bin]]
name = "rtpfecclient"

[[bin]]
name = "rtpfecserver"

[[bin]]
name = "rtsp-server"
required-features = ["gst-rtsp-server"]

[[bin]]
name = "rtsp-server-subclass"
required-features = ["gst-rtsp-server"]

[[bin]]
name = "tagsetter"

[[bin]]
name = "toc"

[[bin]]
name = "futures"

[[bin]]
name = "glib-futures"

[[bin]]
name = "rtsp-server-record"
required-features = ["gst-rtsp-server-record"]

[[bin]]
name = "discoverer"

[[bin]]
name = "pango-cairo"
required-features = ["pango-cairo"]

[[bin]]
name = "overlay-composition"
required-features = ["overlay-composition"]

[[bin]]
name = "ges"
required-features = ["ges"]

[[bin]]
name = "glupload"
required-features = ["gl"]
features = ["gl-egl", "gl-x11", "gl-wayland"]

[[bin]]
name = "subclass"

[[bin]]
name = "video_converter"
