aboutsummaryrefslogtreecommitdiff
path: root/plugins/rtp
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2021-10-12 16:26:50 +0200
committerfiaxh <git@lightrise.org>2021-10-12 19:43:57 +0200
commite8c162eae3827a4f2abdf97b1e42f7398744c10e (patch)
tree30c0e693057f9998550d74c17291441b05fb970f /plugins/rtp
parentbea85c8ab5f74d96f37c1b3a6ea1e83edd0de500 (diff)
downloaddino-e8c162eae3827a4f2abdf97b1e42f7398744c10e.tar.gz
dino-e8c162eae3827a4f2abdf97b1e42f7398744c10e.zip
Fix misc compiler warnings
Diffstat (limited to 'plugins/rtp')
-rw-r--r--plugins/rtp/src/module.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/rtp/src/module.vala b/plugins/rtp/src/module.vala
index 0edbb3e1..dfe224aa 100644
--- a/plugins/rtp/src/module.vala
+++ b/plugins/rtp/src/module.vala
@@ -20,7 +20,7 @@ public class Dino.Plugins.Rtp.Module : JingleRtp.Module {
string pipeline_desc = @"$(media)testsrc is-live=true ! $element_desc ! appsink name=output";
try {
var pipeline = Gst.parse_launch(pipeline_desc);
- var output = (pipeline as Gst.Bin).get_by_name("output") as Gst.App.Sink;
+ var output = ((Gst.Bin) pipeline).get_by_name("output") as Gst.App.Sink;
SourceFunc callback = pipeline_works.callback;
var finished = false;
output.emit_signals = true;