[MPlayer-dev-eng] mplayer.c cleanup

Herman Tamas hermantom at dunasoft.com
Sun Nov 17 07:38:24 CET 2002


hello arpi

ive cleaned mplayer.c up a lil bit so its central now loop looks like:
    while (!eof)
    {
        aq_sleep_time = 0 ; 
        if (play_n_frames >= 0)
          {
            --play_n_frames;
            if (play_n_frames < 0)
              eof = PT_NEXT_ENTRY;
          } 
        dp_play_audio();
        do_play_video();
        do_calc_sleep();
        do_sleep();
        do_flip_page();
        do_av_ts_corr();
        do_auto_quality();
        do_handle_pause();
        do_keyb();
        do_handle_seek();
        do_gui();
        do_osd();
        do_sub();
    }                         // while(!eof)

& the def if do_keyb() is extracted into a separate file

how do u like it? shall i continue reordering mplayer.c this way?
will u ever include it into the cvs?



More information about the MPlayer-dev-eng mailing list