mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-22 06:54:29 +00:00
parent
c5461b8536
commit
82a492b33f
4 changed files with 11 additions and 53 deletions
|
@ -127,6 +127,7 @@ endif ()
|
|||
if (NOT ("all" IN_LIST VALA_WARN OR "qualifier" IN_LIST VALA_WARN))
|
||||
AddCFlagIfSupported(VALA_CFLAGS -Wno-discarded-qualifiers)
|
||||
AddCFlagIfSupported(VALA_CFLAGS -Wno-discarded-array-qualifiers)
|
||||
AddCFlagIfSupported(VALA_CFLAGS -Wno-incompatible-pointer-types-discards-qualifiers)
|
||||
endif ()
|
||||
|
||||
if (NOT ("all" IN_LIST VALA_WARN OR "deprecated" IN_LIST VALA_WARN))
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -1,25 +1,9 @@
|
|||
if(DINO_PLUGIN_ENABLED_http-files)
|
||||
add_subdirectory(http-files)
|
||||
endif(DINO_PLUGIN_ENABLED_http-files)
|
||||
|
||||
if(DINO_PLUGIN_ENABLED_ice)
|
||||
add_subdirectory(ice)
|
||||
endif(DINO_PLUGIN_ENABLED_ice)
|
||||
|
||||
if(DINO_PLUGIN_ENABLED_rtp)
|
||||
add_subdirectory(rtp)
|
||||
endif(DINO_PLUGIN_ENABLED_rtp)
|
||||
|
||||
if(DINO_PLUGIN_ENABLED_openpgp)
|
||||
add_subdirectory(gpgme-vala)
|
||||
add_subdirectory(openpgp)
|
||||
endif(DINO_PLUGIN_ENABLED_openpgp)
|
||||
|
||||
if(DINO_PLUGIN_ENABLED_omemo)
|
||||
add_subdirectory(omemo)
|
||||
foreach(plugin ${PLUGINS})
|
||||
if ("omemo" STREQUAL ${plugin})
|
||||
add_subdirectory(signal-protocol)
|
||||
endif(DINO_PLUGIN_ENABLED_omemo)
|
||||
|
||||
if(DINO_PLUGIN_ENABLED_notification-sound)
|
||||
add_subdirectory(notification-sound)
|
||||
endif(DINO_PLUGIN_ENABLED_notification-sound)
|
||||
endif ()
|
||||
if ("openpgp" STREQUAL ${plugin})
|
||||
add_subdirectory(gpgme-vala)
|
||||
endif ()
|
||||
add_subdirectory(${plugin})
|
||||
endforeach(plugin)
|
||||
|
|
Loading…
Reference in a new issue