mirror of
https://github.com/mpv-player/mpv
synced 2025-01-12 01:49:33 +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(')');
|
||||
mp_msg(MSGT_ASS, MSGL_DBG2, "org(%d, %d)\n", v1, v2);
|
||||
// render_context.evt_type = EVENT_POSITIONED;
|
||||
render_context.org_x = v1;
|
||||
render_context.org_y = v2;
|
||||
render_context.have_origin = 1;
|
||||
render_context.detect_collisions = 0;
|
||||
if (!render_context.have_origin) {
|
||||
render_context.org_x = v1;
|
||||
render_context.org_y = v2;
|
||||
render_context.have_origin = 1;
|
||||
render_context.detect_collisions = 0;
|
||||
}
|
||||
} else if (mystrcmp(&p, "t")) {
|
||||
double v[3];
|
||||
int v1, v2;
|
||||
|
Loading…
Reference in New Issue
Block a user