waylandsink: Add exception code for setting wl_surface
authorHyunil Park <hyunil46.park@samsung.com>
Tue, 3 Nov 2015 10:42:40 +0000 (10:42 +0000)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Tue, 3 Nov 2015 10:45:05 +0000 (10:45 +0000)
commitc9aaa4189b147314129e67adb0e20c1275c19051
tree47ef8341b3c4a8fa259a82a283bad5e11a039f64
parentd3db3df320de4a8450d2c23039d99dd0a0ddcca9
waylandsink: Add exception code for setting wl_surface

Waylandsink needs exception code in gst_wayland_sink_set_window_handle().
After making sink->window, User can call
gst_wayland_sink_set_window_handle(). It is the user's fault, but
Waylandsink needs to handle the exception, if not then sink->window is
changed and rendering fails.

https://bugzilla.gnome.org/show_bug.cgi?id=747482
ext/wayland/gstwaylandsink.c