[MPlayer-dev-eng] Removing the "size restrictions for MP at ML or MPEG1 exceeded!" message

Nico Sabbi nsabbi at tiscali.it
Fri Jul 2 16:42:09 CEST 2004


Tobias Diedrich wrote:

>Are there any reasons against removing that message?
>If it should stay, then I think it should be changed to be printed only
>once.
>
>  
>

I agree, there's nothing to be gained writing it more than once (and 
slowing down
the terminal even more)

>------------------------------------------------------------------------
>
>Index: libmpdemux/mpeg_hdr.c
>===================================================================
>RCS file: /cvsroot/mplayer/main/libmpdemux/mpeg_hdr.c,v
>retrieving revision 1.4
>diff -u -r1.4 mpeg_hdr.c
>--- libmpdemux/mpeg_hdr.c	11 Jun 2004 08:06:01 -0000	1.4
>+++ libmpdemux/mpeg_hdr.c	2 Jul 2004 12:05:30 -0000
>@@ -39,11 +39,6 @@
>     width = ((height >> 12) + 15) & ~15;
>     height = ((height & 0xfff) + 15) & ~15;
> 
>-    if ((width > 768) || (height > 576)){
>-	printf("size restrictions for MP at ML or MPEG1 exceeded! (%dx%d)\n",width,height);
>-//	return 1;	/* size restrictions for MP at ML or MPEG1 */
>-    }
>-    
>     picture->aspect_ratio_information = buffer[3] >> 4;
>     picture->frame_rate_code = buffer[3] & 15;
>     picture->fps=frameratecode2framerate[picture->frame_rate_code];
>  
>
>------------------------------------------------------------------------
>
>  
>




More information about the MPlayer-dev-eng mailing list