summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-09-23 06:39:50 +0000
committerphintuka <phintuka>2006-09-23 06:39:50 +0000
commit7b2d15ddc2c6d646750343758885a194e7da5d71 (patch)
treebdcea2e43643378960c87776ba827236c5f638f2
parentec5381ce8659dceb2fe6cff0ab4ce310035865c3 (diff)
downloadxineliboutput-7b2d15ddc2c6d646750343758885a194e7da5d71.tar.gz
xineliboutput-7b2d15ddc2c6d646750343758885a194e7da5d71.tar.bz2
Use stream->emergency_brake to stop demux even if there is data in fifos
-rw-r--r--xine_input_vdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c
index 13c6ea0c..8877e521 100644
--- a/xine_input_vdr.c
+++ b/xine_input_vdr.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_input_vdr.c,v 1.53 2006-09-23 05:00:55 phintuka Exp $
+ * $Id: xine_input_vdr.c,v 1.54 2006-09-23 06:39:50 phintuka Exp $
*
*/
@@ -1888,7 +1888,6 @@ static int exec_osd_command(vdr_input_plugin_t *this, osd_command_t *cmd)
if(unscaled_supported && this->unscaled_osd_lowresvideo)
use_unscaled = 1;
- * test: if display width == 1440, every second pixel opaque / transparent ... -> pseudo-alpha ? (2x720->1440; common TFT)
if(this->rescale_osd) {
if(!this->rescale_osd_downscale) {
@@ -4128,6 +4127,7 @@ static buf_element_t *vdr_plugin_read_block (input_plugin_t *this_gen,
if(!this->funcs.push_input_write /* reading from socket */ &&
!this->control_running) {
LOGMSG("read_block: no data source, returning NULL");
+ this->stream->emergency_brake=1;
return NULL; /* disconnected ? */
}