[MPlayer-cvslog] r24866 - trunk/libmpdemux/video.c

nicodvb subversion at mplayerhq.hu
Sat Oct 27 14:45:31 CEST 2007


Author: nicodvb
Date: Sat Oct 27 14:45:31 2007
New Revision: 24866

Log:
removed funny calls to fflush(stdout) after mp_msg()

Modified:
   trunk/libmpdemux/video.c

Modified: trunk/libmpdemux/video.c
==============================================================================
--- trunk/libmpdemux/video.c	(original)
+++ trunk/libmpdemux/video.c	Sat Oct 27 14:45:31 2007
@@ -106,7 +106,7 @@ switch(video_codec){
  case VIDEO_MPEG4: {
    int pos = 0, vop_cnt=0, units[3];
    videobuf_len=0; videobuf_code_len=0;
-   mp_msg(MSGT_DECVIDEO,MSGL_V,"Searching for Video Object Start code... ");fflush(stdout);
+   mp_msg(MSGT_DECVIDEO,MSGL_V,"Searching for Video Object Start code... ");
    while(1){
       int i=sync_video_packet(d_video);
       if(i<=0x11F) break; // found it!
@@ -124,7 +124,7 @@ switch(video_codec){
        return 0;
      }
    }
-   mp_msg(MSGT_DECVIDEO,MSGL_V,"Searching for Video Object Layer Start code... ");fflush(stdout);
+   mp_msg(MSGT_DECVIDEO,MSGL_V,"Searching for Video Object Layer Start code... ");
    while(1){
       int i=sync_video_packet(d_video);
       mp_msg(MSGT_DECVIDEO,MSGL_V,"M4V: 0x%X\n",i);
@@ -140,7 +140,7 @@ switch(video_codec){
      return 0;
    }
    mp4_header_process_vol(&picture, &(videobuffer[pos]));
-   mp_msg(MSGT_DECVIDEO,MSGL_V,"OK! FPS SEEMS TO BE %.3f\nSearching for Video Object Plane Start code... ", sh_video->fps);fflush(stdout);
+   mp_msg(MSGT_DECVIDEO,MSGL_V,"OK! FPS SEEMS TO BE %.3f\nSearching for Video Object Plane Start code... ", sh_video->fps);
  mp4_init: 
    while(1){
       int i=sync_video_packet(d_video);
@@ -199,7 +199,7 @@ switch(video_codec){
  case VIDEO_H264: {
    int pos = 0;
    videobuf_len=0; videobuf_code_len=0;
-   mp_msg(MSGT_DECVIDEO,MSGL_V,"Searching for sequence parameter set... ");fflush(stdout);
+   mp_msg(MSGT_DECVIDEO,MSGL_V,"Searching for sequence parameter set... ");
    while(1){
       int i=sync_video_packet(d_video);
       if((i&~0x60) == 0x107 && i != 0x107) break; // found it!
@@ -223,7 +223,7 @@ switch(video_codec){
      return 0;
    }
    h264_parse_sps(&picture, &(videobuffer[pos]), videobuf_len - pos);
-   mp_msg(MSGT_DECVIDEO,MSGL_V,"Searching for picture parameter set... ");fflush(stdout);
+   mp_msg(MSGT_DECVIDEO,MSGL_V,"Searching for picture parameter set... ");
    while(1){
       int i=sync_video_packet(d_video);
       mp_msg(MSGT_DECVIDEO,MSGL_V,"H264: 0x%X\n",i);
@@ -233,7 +233,7 @@ switch(video_codec){
         return 0;
       }
    }
-   mp_msg(MSGT_DECVIDEO,MSGL_V,"OK!\nSearching for Slice... ");fflush(stdout);
+   mp_msg(MSGT_DECVIDEO,MSGL_V,"OK!\nSearching for Slice... ");
    while(1){
       int i=sync_video_packet(d_video);
       if((i&~0x60) == 0x101 || (i&~0x60) == 0x102 || (i&~0x60) == 0x105) break; // found it!
@@ -256,7 +256,7 @@ mpeg_header_parser:
    // Find sequence_header first:
    videobuf_len=0; videobuf_code_len=0;
    telecine=0; telecine_cnt=-2.5;
-   mp_msg(MSGT_DECVIDEO,MSGL_V,"Searching for sequence header... ");fflush(stdout);
+   mp_msg(MSGT_DECVIDEO,MSGL_V,"Searching for sequence header... ");
    while(1){
       int i=sync_video_packet(d_video);
       if(i==0x1B3) break; // found it!



More information about the MPlayer-cvslog mailing list