gstreamer/sys/winscreencap
Florian Zwoch 1489e73df4 dx9screencapsrc: throw error for invalid screen index
Currently dx9screencapsrc prints a verbose warning in case the screen
index is out of range for the current number of detected monitors. This
value is then dropped.

However there is no initial indication (beside the console print) if it
worked or not. This may result in capturing an unwanted screen as it
would capture the last set index that was not rejected.

This patch sets the index regardless. Instead, the element throws an
error when it tries to run or getting caps for an invalid index.

https://bugzilla.gnome.org/show_bug.cgi?id=771817
2016-09-22 09:52:37 -04:00
..
gstdx9screencapsrc.c dx9screencapsrc: throw error for invalid screen index 2016-09-22 09:52:37 -04:00
gstdx9screencapsrc.h winscreencap: Properly timestamp buffers with the current clock running time instead of doing magic 2015-08-03 19:42:56 +03:00
gstgdiscreencapsrc.c bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gstgdiscreencapsrc.h winscreencap: Properly timestamp buffers with the current clock running time instead of doing magic 2015-08-03 19:42:56 +03:00
gstwinscreencap.c Fix FSF address 2012-11-04 00:09:59 +00:00
gstwinscreencap.h winscreencap: Initial port to 1.0 2013-06-20 23:00:59 +02:00
Makefile.am winscreencap: Initial port to 1.0 2013-06-20 23:00:59 +02:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:35:54 +01:00