comparison libass/ass.c @ 28785:0366ab2c1cb9

Support ScaledBorderAndShadow property.
author greg
date Thu, 05 Mar 2009 20:36:48 +0000
parents 1dfad1b382fa
children 9359f0ac6dd6
comparison
equal deleted inserted replaced
28784:907d3d80b50f 28785:0366ab2c1cb9
518 track->PlayResY = atoi(str + 9); 518 track->PlayResY = atoi(str + 9);
519 } else if (!strncmp(str,"Timer:", 6)) { 519 } else if (!strncmp(str,"Timer:", 6)) {
520 track->Timer = atof(str + 6); 520 track->Timer = atof(str + 6);
521 } else if (!strncmp(str,"WrapStyle:", 10)) { 521 } else if (!strncmp(str,"WrapStyle:", 10)) {
522 track->WrapStyle = atoi(str + 10); 522 track->WrapStyle = atoi(str + 10);
523 } else if (!strncmp(str, "ScaledBorderAndShadow:", 22)) {
524 track->ScaledBorderAndShadow = parse_bool(str + 22);
523 } 525 }
524 return 0; 526 return 0;
525 } 527 }
526 528
527 static int process_events_line(ass_track_t* track, char *str) 529 static int process_events_line(ass_track_t* track, char *str)