aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2022-01-05 13:57:36 +0100
committerMarvin W <git@larma.de>2022-01-09 17:04:34 +0100
commit82a492b33f1232c26db75dbef2d94a800161d466 (patch)
tree5d41592ece6b3ed44a4156da755660a9266e21bc /main
parentc5461b8536b6171aea17d0e97d41710988b73534 (diff)
downloaddino-82a492b33f1232c26db75dbef2d94a800161d466.tar.gz
dino-82a492b33f1232c26db75dbef2d94a800161d466.zip
Remove GStreamer dependencies from main
Fixes #1060
Diffstat (limited to 'main')
-rw-r--r--main/CMakeLists.txt2
-rw-r--r--main/src/ui/call_window/call_window_controller.vala27
2 files changed, 1 insertions, 28 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 3abe970a..e052785a 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -5,8 +5,6 @@ gettext_compile(${GETTEXT_PACKAGE} SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/po TAR
find_packages(MAIN_PACKAGES REQUIRED
Gee
- Gst
- GstVideo
GLib
GModule
GObject
diff --git a/main/src/ui/call_window/call_window_controller.vala b/main/src/ui/call_window/call_window_controller.vala
index dbf2106c..34f3a910 100644
--- a/main/src/ui/call_window/call_window_controller.vala
+++ b/main/src/ui/call_window/call_window_controller.vala
@@ -320,31 +320,6 @@ public class Dino.Ui.CallWindowController : Object {
});*/
}
- public void add_test_video() {
- var pipeline = new Gst.Pipeline(null);
- var src = Gst.ElementFactory.make("videotestsrc", null);
- pipeline.add(src);
- Gst.Video.Sink sink = (Gst.Video.Sink) Gst.ElementFactory.make("gtksink", null);
- Gtk.Widget widget;
- sink.get("widget", out widget);
- widget.unparent();
- pipeline.add(sink);
- src.link(sink);
- widget.visible = true;
-
- pipeline.set_state(Gst.State.PLAYING);
-
- sink.get_static_pad("sink").notify["caps"].connect(() => {
- int width, height;
- sink.get_static_pad("sink").caps.get_structure(0).get_int("width", out width);
- sink.get_static_pad("sink").caps.get_structure(0).get_int("height", out height);
- widget.width_request = width;
- widget.height_request = height;
- });
-
-// call_window.set_participant_video(Xmpp.random_uuid(), widget);
- }
-
/*private void update_current_video_device(VideoSettingsPopover video_settings_popover) {
Xmpp.Xep.JingleRtp.Stream stream = calls.get_video_stream(call);
if (stream != null) {
@@ -377,4 +352,4 @@ public class Dino.Ui.CallWindowController : Object {
base.dispose();
}
-} \ No newline at end of file
+}