diff options
Diffstat (limited to 'xine_input_vdr.c')
-rw-r--r-- | xine_input_vdr.c | 12 |
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; } |