summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_decoder.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-05-24 15:31:30 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-05-24 15:31:30 +0000
commitdf2eb164e1af3a7f267ce5fc42578b3816eb15fb (patch)
tree58ab86a1bd3a3927bb0f4d495ab3a0c3d3217f25 /src/xine-engine/video_decoder.c
parent103c9964e7b2c81a2d7c073a92c46ee3d2b046d1 (diff)
downloadxine-lib-df2eb164e1af3a7f267ce5fc42578b3816eb15fb.tar.gz
xine-lib-df2eb164e1af3a7f267ce5fc42578b3816eb15fb.tar.bz2
first sloppy frames and audio
CVS patchset: 78 CVS date: 2001/05/24 15:31:30
Diffstat (limited to 'src/xine-engine/video_decoder.c')
-rw-r--r--src/xine-engine/video_decoder.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c
index ebf38ded2..a7ac3a3a5 100644
--- a/src/xine-engine/video_decoder.c
+++ b/src/xine-engine/video_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_decoder.c,v 1.12 2001/05/22 23:07:49 guenter Exp $
+ * $Id: video_decoder.c,v 1.13 2001/05/24 15:31:31 guenter Exp $
*
*/
@@ -37,19 +37,13 @@ void *video_decoder_loop (void *this_gen) {
while (running) {
- printf ("video_decoder: get buffer\n");
-
buf = this->video_fifo->get (this->video_fifo);
- printf ("video_decoder: processing buffer\n");
-
/* gVD.mnCurInputPos = pBuf->nInputPos; */
switch (buf->type) {
case BUF_CONTROL_START:
- printf ("video_decoder: found start of stream\n");
-
if (this->cur_video_decoder_plugin) {
this->cur_video_decoder_plugin->close (this->cur_video_decoder_plugin);
this->cur_video_decoder_plugin = NULL;
@@ -66,14 +60,10 @@ void *video_decoder_loop (void *this_gen) {
streamtype = (buf->type>>16) & 0xFF;
- printf ("video_decoder: processing buffer type= %08x (%02x), size=%d\n", buf->type,streamtype, buf->size);
-
decoder = this->video_decoder_plugins [streamtype];
if (decoder) {
- printf ("video_decoder: decoder found.\n");
-
if (this->cur_video_decoder_plugin != decoder) {
if (this->cur_video_decoder_plugin)
@@ -84,15 +74,13 @@ void *video_decoder_loop (void *this_gen) {
}
- decoder->decode_data (this->cur_video_decoder_plugin, buf);
+ decoder->decode_data (this->cur_video_decoder_plugin, buf);
}
break;
case BUF_CONTROL_END:
- printf ("video_decoder: found end of stream\n");
-
if (this->cur_video_decoder_plugin) {
this->cur_video_decoder_plugin->close (this->cur_video_decoder_plugin);
this->cur_video_decoder_plugin = NULL;