mirror of
https://github.com/mpv-player/mpv
synced 2025-01-26 09:33:30 +00:00
Only use first \org in a line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28873 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
41bd5a75fd
commit
463d61c7a6
@ -1059,10 +1059,12 @@ static char* parse_tag(char* p, double pwr) {
|
|||||||
skip(')');
|
skip(')');
|
||||||
mp_msg(MSGT_ASS, MSGL_DBG2, "org(%d, %d)\n", v1, v2);
|
mp_msg(MSGT_ASS, MSGL_DBG2, "org(%d, %d)\n", v1, v2);
|
||||||
// render_context.evt_type = EVENT_POSITIONED;
|
// render_context.evt_type = EVENT_POSITIONED;
|
||||||
render_context.org_x = v1;
|
if (!render_context.have_origin) {
|
||||||
render_context.org_y = v2;
|
render_context.org_x = v1;
|
||||||
render_context.have_origin = 1;
|
render_context.org_y = v2;
|
||||||
render_context.detect_collisions = 0;
|
render_context.have_origin = 1;
|
||||||
|
render_context.detect_collisions = 0;
|
||||||
|
}
|
||||||
} else if (mystrcmp(&p, "t")) {
|
} else if (mystrcmp(&p, "t")) {
|
||||||
double v[3];
|
double v[3];
|
||||||
int v1, v2;
|
int v1, v2;
|
||||||
|
Loading…
Reference in New Issue
Block a user