diff options
author | phintuka <phintuka> | 2006-08-26 14:50:46 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-08-26 14:50:46 +0000 |
commit | 43ee8c1dc7c6c93a72d33fee454d9e7fc2d04a62 (patch) | |
tree | 5ebcadc6ba5c6dbde1a6f5e21b824538dcaf461d | |
parent | 8072dd1f7ad86c33ed29ecab189fe94c5a80b0d8 (diff) | |
download | xineliboutput-43ee8c1dc7c6c93a72d33fee454d9e7fc2d04a62.tar.gz xineliboutput-43ee8c1dc7c6c93a72d33fee454d9e7fc2d04a62.tar.bz2 |
commented out write_slave_stream (some (older?) vdr recordings have video
stream with PID != 0xE0)
-rw-r--r-- | xine_input_vdr.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index da4a5307..e9577ee8 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.34 2006-08-25 04:10:33 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.35 2006-08-26 14:50:46 phintuka Exp $ * */ @@ -3703,9 +3703,9 @@ static void *vdr_data_thread(void *this_gen) pthread_exit(NULL); } +#if 0 static int write_slave_stream(vdr_input_plugin_t *this, const char *data, int len) { -#if 0 fifo_input_plugin_t *slave; buf_element_t *buf; @@ -3744,9 +3744,9 @@ static int write_slave_stream(vdr_input_plugin_t *this, const char *data, int le buf->type = BUF_DEMUX_BLOCK; xine_fast_memcpy(buf->content, data, len); slave->buffer->put(slave->buffer, buf); -#endif return len; } +#endif static int vdr_plugin_write(input_plugin_t *this_gen, const char *data, int len) { @@ -3757,9 +3757,13 @@ static int vdr_plugin_write(input_plugin_t *this_gen, const char *data, int len) if(this->slave_stream) return len; +#if 0 + /* some (older?) VDR recordings have video PID != 0xE0 ... */ + /* slave */ if(((uint8_t*)data)[3] > 0xe0 && ((uint8_t*)data)[3] <= 0xef) return write_slave_stream(this, data, len); +#endif TRACE("vdr_plugin_write (%d bytes)", len); |