mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
Drop out control chars from page header in time position.
Expand time line if necessary. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24316 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e371194632
commit
efd9aba867
@ -840,9 +840,13 @@ static void prepare_visible_page(priv_vbi_t* priv){
|
|||||||
priv->display_page[10].unicode=' ';
|
priv->display_page[10].unicode=' ';
|
||||||
}
|
}
|
||||||
priv->display_page[11].unicode=' ';
|
priv->display_page[11].unicode=' ';
|
||||||
for(i=VBI_TIME_LINEPOS;i<VBI_COLUMNS;i++){
|
for(i=VBI_COLUMNS;i>VBI_TIME_LINEPOS ||
|
||||||
priv->display_page[i].unicode=curr_pg->raw[i];
|
((curr_pg->raw[i]&0x60) && curr_pg->raw[i]!=0x20 && i>11);
|
||||||
}
|
--i)
|
||||||
|
if(curr_pg->raw[i]&0x60)
|
||||||
|
priv->display_page[i].unicode=curr_pg->raw[i];
|
||||||
|
else
|
||||||
|
priv->display_page[i].unicode=' ';
|
||||||
pthread_mutex_unlock(&(priv->buffer_mutex));
|
pthread_mutex_unlock(&(priv->buffer_mutex));
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user