don't silently fail screencasting on giant screen setups
@jimmac
Submitted by Jakub Steiner Link to original bug (#710395)
Description
I have a dual 2560x1440 screen setup. Screencasting creates a 0bute file for me:
Oct 17 16:01:38 poseidon gnome-session[1781]: (gnome-settings-daemon:1800): GLib-CRITICAL **: g_variant_get_int32: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_INT32)' failed
Oct 17 16:01:38 poseidon gnome-session[1781]: Recording to /home/jimmac/Videos/Screencast from 10-17-2013 04:01:38 PM.webm
Oct 17 16:01:38 poseidon gnome-session[1781]: 0:00:28.488897507 1856 0x7f017449d5e0 ERROR vp8enc gstvp8enc.c:1887:gst_vp8_enc_finish:<vp8enc1>
encode returned 1 error
Oct 17 16:01:39 poseidon gnome-session[1781]: Window manager warning: Log level 16: Error in recording pipeline: Internal data flow error.
Oct 17 16:02:08 poseidon gnome-session[1781]: Window manager warning: Log level 8: shell_recorder_close: assertion 'recorder->state != RECORDER_STATE_CLOSED' failed
I suggest we play it safe and only record the primary screen. Not being able to capture should probably be communicated with a notification rather than silently failing as well.
Version: 3.10.x