mirror of https://github.com/mpv-player/mpv
modified mplayer.c to rewert to PLAY after rewinding after 1 sec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1505 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0a9ae48206
commit
8632ea0526
|
@ -196,8 +196,6 @@ inline static void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,in
|
||||||
while (l--){
|
while (l--){
|
||||||
x = xtbl[i++];
|
x = xtbl[i++];
|
||||||
while ((c=utbl[k++])){
|
while ((c=utbl[k++])){
|
||||||
// c=utbl[k];
|
|
||||||
// k++;
|
|
||||||
if (x>=0 && x+vo_font->width[c]<=dxs)
|
if (x>=0 && x+vo_font->width[c]<=dxs)
|
||||||
if ((font=vo_font->font[c])>=0)
|
if ((font=vo_font->font[c])>=0)
|
||||||
draw_alpha(x,y,
|
draw_alpha(x,y,
|
||||||
|
|
|
@ -1446,8 +1446,10 @@ if(auto_quality>0){
|
||||||
|
|
||||||
#ifdef USE_OSD
|
#ifdef USE_OSD
|
||||||
if(osd_visible){
|
if(osd_visible){
|
||||||
--osd_visible;
|
if (!--osd_visible){ vo_osd_progbar_type=-1; // disable
|
||||||
if(!osd_visible) vo_osd_progbar_type=-1; // disable
|
if (osd_function != OSD_PAUSE)
|
||||||
|
osd_function = OSD_PLAY;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1699,7 +1701,7 @@ if(rel_seek_secs){
|
||||||
|
|
||||||
c_total=0;
|
c_total=0;
|
||||||
max_pts_correction=0.1;
|
max_pts_correction=0.1;
|
||||||
// force_redraw=5;
|
osd_visible=sh_video->fps; // to rewert to PLAY pointer after 1 sec
|
||||||
audio_time_usage=0; video_time_usage=0; vout_time_usage=0;
|
audio_time_usage=0; video_time_usage=0; vout_time_usage=0;
|
||||||
drop_frame_cnt=0;
|
drop_frame_cnt=0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue