[gst-devel] XVImageSink Fullscreen patch.

Jens Persson xerxes2 at gmail.com
Mon Dec 18 17:44:05 CET 2006

Thank you man. If this works I'll give you a big hug. :D
No matter what I tried I couldn't get the fullscreen toggle to work in a 
program I made.

Snaik wrote:
>  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
> ------------------------------------------------------------------------
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

More information about the gstreamer-devel mailing list