summaryrefslogtreecommitdiff
path: root/xine_input_vdr.c
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-09-13 22:38:59 +0000
committerphintuka <phintuka>2006-09-13 22:38:59 +0000
commitfc235fed3a7a0900adeb6967a571807f2941dfee (patch)
treec1e99bb3e6b27188a2c8ff1ca5a353c8d7ffc966 /xine_input_vdr.c
parentdd03325bb9abb2e748bc9e638999376a4193db19 (diff)
downloadxineliboutput-fc235fed3a7a0900adeb6967a571807f2941dfee.tar.gz
xineliboutput-fc235fed3a7a0900adeb6967a571807f2941dfee.tar.bz2
Do not blank if there is data in stream queues
Diffstat (limited to 'xine_input_vdr.c')
-rw-r--r--xine_input_vdr.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c
index 82075131..e1ae0206 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.46 2006-09-11 19:59:22 phintuka Exp $
+ * $Id: xine_input_vdr.c,v 1.47 2006-09-13 22:38:59 phintuka Exp $
*
*/
@@ -4138,12 +4138,14 @@ static buf_element_t *vdr_plugin_read_block (input_plugin_t *this_gen,
/* internal control bufs */
if(buf->type == CONTROL_BUF_BLANK) {
- if(!this->stream_start)
- LOGMSG("BLANK in middle of stream!");
buf->free_buffer(buf);
buf = NULL;
- _x_demux_control_newpts(this->stream, 0, 0);
- queue_blank_yv12(this);
+ if(!this->stream_start)
+ LOGMSG("BLANK in middle of stream!");
+ else {
+ _x_demux_control_newpts(this->stream, 0, 0);
+ queue_blank_yv12(this);
+ }
continue;
}