summaryrefslogtreecommitdiffstats
path: root/sys/winscreencap/gstdx9screencapsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/winscreencap/gstdx9screencapsrc.c')
-rw-r--r--sys/winscreencap/gstdx9screencapsrc.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/winscreencap/gstdx9screencapsrc.c b/sys/winscreencap/gstdx9screencapsrc.c
index e35cb485..c14f8d94 100644
--- a/sys/winscreencap/gstdx9screencapsrc.c
+++ b/sys/winscreencap/gstdx9screencapsrc.c
@@ -17,6 +17,28 @@
* Boston, MA 02111-1307, USA.
*/
+/**
+ * SECTION:element-dx9screencapsrc
+ *
+ * This element uses DirectX to capture the desktop or a portion of it.
+ * The default is capturing the whole desktop, but #GstDX9ScreenCapSrc:x,
+ * #GstDX9ScreenCapSrc:y, #GstDX9ScreenCapSrc:width and
+ * #GstDX9ScreenCapSrc:height can be used to select a particular region.
+ * Use #GstDX9ScreenCapSrc:monitor for changing which monitor to capture
+ * from.
+ *
+ * <refsect2>
+ * <title>Example pipelines</title>
+ * |[
+ * gst-launch dx9screencapsrc ! ffmpegcolorspace ! dshowvideosink
+ * ]| Capture the desktop and display it.
+ * |[
+ * gst-launch dx9screencapsrc x=100 y=100 width=320 height=240 !
+ * ffmpegcolorspace ! dshowvideosink
+ * ]| Capture a portion of the desktop and display it.
+ * </refsect2>
+ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif