summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2007-01-24 06:31:25 +0000
committerphintuka <phintuka>2007-01-24 06:31:25 +0000
commita99630e3e70c37ab5f5f7e25efd3562e7d786533 (patch)
treed599db276aa528c1ce66d867941c18042d6d1f9d
parent34788daa0c1b4c74cc5114fbc07b1589fdcecf0c (diff)
downloadxineliboutput-a99630e3e70c37ab5f5f7e25efd3562e7d786533.tar.gz
xineliboutput-a99630e3e70c37ab5f5f7e25efd3562e7d786533.tar.bz2
"D" toggles deinterlacing on/off
-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) {