changeset 24838:a0181b13daf5

removed funny calls to fflush(stdout) after mp_msg()
author nicodvb
date Sat, 27 Oct 2007 12:45:31 +0000
parents fdd2cf92f854
children 69f5bb02b659
files libmpdemux/video.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/video.c	Sat Oct 27 12:42:00 2007 +0000
+++ b/libmpdemux/video.c	Sat Oct 27 12:45:31 2007 +0000
@@ -106,7 +106,7 @@
  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 @@
        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 @@
      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 @@
  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 @@
      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 @@
         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 @@
    // 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!