[MPlayer-cvslog] r31355 - trunk/libmpcodecs/vd_libmpeg2.c
diego
subversion at mplayerhq.hu
Wed Jun 9 18:07:47 CEST 2010
Author: diego
Date: Wed Jun 9 18:07:46 2010
New Revision: 31355
Log:
cosmetics: Remove commented-out cruft.
Modified:
trunk/libmpcodecs/vd_libmpeg2.c
Modified: trunk/libmpcodecs/vd_libmpeg2.c
==============================================================================
--- trunk/libmpcodecs/vd_libmpeg2.c Wed Jun 9 16:35:31 2010 (r31354)
+++ trunk/libmpcodecs/vd_libmpeg2.c Wed Jun 9 18:07:46 2010 (r31355)
@@ -38,8 +38,6 @@ static const vd_info_t info =
LIBVD_EXTERN(libmpeg2)
-//#include "libvo/video_out.h" // FIXME!!!
-
#include "libmpeg2/mpeg2.h"
#include "libmpeg2/attributes.h"
#include "libmpeg2/mpeg2_internal.h"
@@ -82,7 +80,6 @@ static int control(sh_video_t *sh,int cm
static int init(sh_video_t *sh){
vd_libmpeg2_ctx_t *context;
mpeg2dec_t * mpeg2dec;
-// const mpeg2_info_t * info;
int accel;
accel = 0;
@@ -146,8 +143,6 @@ static void draw_slice (void * _sh, uint
int stride[MP_MAX_PLANES] = {mpeg2dec->decoder.stride, mpeg2dec->decoder.uv_stride, mpeg2dec->decoder.uv_stride};
uint8_t *srcs[MP_MAX_PLANES] = {src[0], src[1], src[2]};
-// printf("draw_slice() y=%d \n",y);
-
mpcodecs_draw_slice(sh, srcs,
stride, info->sequence->picture_width,
(y+16<=info->sequence->picture_height) ? 16 :
@@ -232,7 +227,6 @@ static mp_image_t* decode(sh_video_t *sh
drop_frame |= framedrop>=2; // hard drop
if (drop_frame) {
mpeg2_skip(mpeg2dec, 1);
- //printf("Dropping Frame ...\n");
break;
}
mpeg2_skip(mpeg2dec, 0); //mpeg2skip skips frames until set again to 0
@@ -306,7 +300,6 @@ static mp_image_t* decode(sh_video_t *sh
memcpy(mpeg2dec->pending_buffer+mpeg2dec->pending_length, data, len);
mpeg2dec->pending_length += len;
}
-// fprintf(stderr, "pending = %d\n", mpeg2dec->pending_length);
return mpi;
}
}
More information about the MPlayer-cvslog
mailing list