summaryrefslogtreecommitdiff
path: root/xine_sxfe_frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'xine_sxfe_frontend.c')
-rw-r--r--xine_sxfe_frontend.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c
index a2343aec..dc206e42 100644
--- a/xine_sxfe_frontend.c
+++ b/xine_sxfe_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_sxfe_frontend.c,v 1.16 2007-01-20 14:14:30 phintuka Exp $
+ * $Id: xine_sxfe_frontend.c,v 1.17 2007-01-24 06:31:25 phintuka Exp $
*
*/
@@ -821,12 +821,15 @@ static int sxfe_run(frontend_t *this_gen)
XLookupString(kevent, buffer, buf_len, &ks, &status);
ksname = XKeysymToString(ks);
#ifdef XINELIBOUTPUT_FE_TOGGLE_FULLSCREEN
- if(ks == XK_f || ks == XK_F)
+ if(ks == XK_f || ks == XK_F) {
sxfe_display_config(this_gen, this->origwidth, this->origheight,
this->fullscreen ? 0 : 1,
this->vmode_switch, this->modeline,
this->aspect, this->scale_video, this->field_order);
- else
+ } else if(ks == XK_d || ks == XK_D) {
+ xine_set_param(this->stream, XINE_PARAM_VO_DEINTERLACE,
+ xine_get_param(this->stream, XINE_PARAM_VO_DEINTERLACE) ? 0 : 1);
+ } else
#endif
#ifdef FE_STANDALONE
if(/*ks == XK_q || ks == XK_Q ||*/ ks == XK_Escape) {