[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/network/kcall
From: George Kiagiadakis <gkiagiad () csd ! uoc ! gr>
Date: 2009-07-23 15:37:16
Message-ID: 1248363436.272334.31398.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1001543 by gkiagia:
Allow kcall to use audiotestsrc/videotestsrc as audio/video sources for testing \
purposes. Useful for people who don't have a web camera but want to test video \
support, like me ;)
M +4 -0 CMakeLists.txt
M +5 -0 libkgstdevices/devicemanager.cpp
--- trunk/playground/network/kcall/CMakeLists.txt #1001542:1001543
@@ -37,6 +37,10 @@
${KNOTIFICATIONITEM_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
add_definitions(${KDE4_DEFINITIONS})
+# This flag enables kcall to use audiotestsrc and videotestsrc as audio and video \
input devices respectively +# This makes sense mostly for testing and is not meant to \
be there in releases. +add_definitions(-DUSE_TEST_DEVICES)
+
add_subdirectory(libkcallprivate)
add_subdirectory(libkgstvideowidget)
add_subdirectory(libqtgstreamer)
--- trunk/playground/network/kcall/libkgstdevices/devicemanager.cpp #1001542:1001543
@@ -156,6 +156,11 @@
m_availableDevices[DeviceManager::VideoInput].prepend(Device(d));
}
+#ifdef USE_TEST_DEVICES
+ //and append the test devices, for testing purposes only
+ addTestDevices();
+#endif
+
//set default devices
q->loadDefaults();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic