comparison mplayer.c @ 1504:f4f686aed404

modified mplayer.c to rewert to PLAY after rewinding after 1 sec
author atlka
date Mon, 13 Aug 2001 13:12:49 +0000
parents d40f2b686846
children d4cd08b06665
comparison
equal deleted inserted replaced
1503:1af1f37efd67 1504:f4f686aed404
1444 #endif 1444 #endif
1445 } 1445 }
1446 1446
1447 #ifdef USE_OSD 1447 #ifdef USE_OSD
1448 if(osd_visible){ 1448 if(osd_visible){
1449 --osd_visible; 1449 if (!--osd_visible){ vo_osd_progbar_type=-1; // disable
1450 if(!osd_visible) vo_osd_progbar_type=-1; // disable 1450 if (osd_function != OSD_PAUSE)
1451 osd_function = OSD_PLAY;
1452 }
1451 } 1453 }
1452 #endif 1454 #endif
1453 1455
1454 if(osd_function==OSD_PAUSE){ 1456 if(osd_function==OSD_PAUSE){
1455 printf("\n------ PAUSED -------\r");fflush(stdout); 1457 printf("\n------ PAUSED -------\r");fflush(stdout);
1697 } 1699 }
1698 #endif 1700 #endif
1699 1701
1700 c_total=0; 1702 c_total=0;
1701 max_pts_correction=0.1; 1703 max_pts_correction=0.1;
1702 // force_redraw=5; 1704 osd_visible=sh_video->fps; // to rewert to PLAY pointer after 1 sec
1703 audio_time_usage=0; video_time_usage=0; vout_time_usage=0; 1705 audio_time_usage=0; video_time_usage=0; vout_time_usage=0;
1704 drop_frame_cnt=0; 1706 drop_frame_cnt=0;
1705 1707
1706 } 1708 }
1707 rel_seek_secs=0; 1709 rel_seek_secs=0;