[gst-devel] XVImageSink Fullscreen patch.

Snaik snaik32 at gmail.com
Mon Dec 18 08:05:16 CET 2006


 hello,
  i've added fullscreen features to the xvimagesink plugin, which allows the
plugin to go into fullscreen mode.
basically ive written a function that achieves this,
but there seems to be a problem sometimes while going into the fullscreen
mode,
[problems]

sometimes while switching to the fullscreen mode, the window just dissapears
and fullscreen never appears.
and sometimes
XIO:  fatal IO error 0 (Success) on X server ":0.0"
      after 197 requests (195 known processed) with 0 events remaining.

[end]

maybe im not aquiring the correct locks, or the fullscreen_toggle() is not
done at the proper location in code.
currently im aquiring a lock on the flow and to the xcontext, i.e.
g_mutex_lock(xvimagesink->flow_lock)  and
g_mutex_lock(xvimagesink->x_lock) ..
Probably i should be able to fix this with the help of Julien Moutte
(original code author).

Code Additions ive made:
1] gst_xvimagesink_toggle_fullscreen(), toggles the fullscreen mode.
2] Installed fullscreen property on the plugin (so that the pipeline can
start in fullscreen mode)
3] Installed title property on the plugin (so u can set the title of the xv
window to something u like, default "XVImageSink")
4] Capturing X Keypress Events for keys F and f to toggle fullscreen and Key
Escape to switch to window mode when in fullscreen.

i would like to know where i should submit the code additions ive made.
and would also like to know whether i need to describe what im doing in the
code additions.

regards
snaik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20061218/6d371862/attachment.htm>


More information about the gstreamer-devel mailing list