summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2009-09-27 13:04:06 +0000
committerphintuka <phintuka>2009-09-27 13:04:06 +0000
commit598712a4e90dbd96255a7befa753d22909c233be (patch)
tree6ca074c084ea9c8bfeec5e7ea0a5836848e32d03
parent10a535c65a2941edffcc5c997377b04e1d9d3130 (diff)
downloadxineliboutput-598712a4e90dbd96255a7befa753d22909c233be.tar.gz
xineliboutput-598712a4e90dbd96255a7befa753d22909c233be.tar.bz2
Reset video size when stream changes.
This should fix VDR OSD when playing DVD with some video resolutions.
-rw-r--r--xine_frontend.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xine_frontend.c b/xine_frontend.c
index d383e466..77a50beb 100644
--- a/xine_frontend.c
+++ b/xine_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend.c,v 1.100 2009-08-19 17:02:43 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.101 2009-09-27 13:04:06 phintuka Exp $
*
*/
@@ -1386,6 +1386,7 @@ static void *fe_control(frontend_t *this_gen, const char *cmd)
if(this->slave_stream)
fe_control(this_gen, "SLAVE 0x0\r\n");
init_dummy_ports(this, 0);
+ this->video_width = this->video_height = 0;
} else if(!strncmp(cmd, "SLAVE 0x", 8)) {
unsigned long pt;
@@ -1420,6 +1421,7 @@ static void *fe_control(frontend_t *this_gen, const char *cmd)
fe_post_rewire(this);
}
this->slave_playback_finished = !slave_stream;
+ this->video_width = this->video_height = 0;
}
} else if(!strncmp(cmd, "ENDOFSTREAM", 11)) {