diff options
author | Grigori Goronzy <greg@blackbox> | 2010-02-06 04:04:50 +0100 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2010-02-06 04:04:50 +0100 |
commit | a50d19df54579bc4b3c54705167c2b9d49ee32c0 (patch) | |
tree | 086feca49f221ab65369a480bf1acfda41ca7da2 /test | |
parent | ac3cd3ad13d7b7fed0192f2e74e196d6993458fd (diff) | |
download | libass-a50d19df54579bc4b3c54705167c2b9d49ee32c0.tar.bz2 libass-a50d19df54579bc4b3c54705167c2b9d49ee32c0.tar.xz |
Simplify test program
Lots of unnecessary calls to setup functions can be removed.
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/test.c b/test/test.c index fbe4caa..e2a88d1 100644 --- a/test/test.c +++ b/test/test.c @@ -78,9 +78,6 @@ static void init(int frame_w, int frame_h) exit(1); } - ass_set_fonts_dir(ass_library, ""); - ass_set_extract_fonts(ass_library, 0); - ass_set_style_overrides(ass_library, NULL); ass_set_message_cb(ass_library, msg_callback, NULL); ass_renderer = ass_renderer_init(ass_library); @@ -90,9 +87,6 @@ static void init(int frame_w, int frame_h) } ass_set_frame_size(ass_renderer, frame_w, frame_h); - ass_set_margins(ass_renderer, 0, 0, 0, 0); - ass_set_use_margins(ass_renderer, 0); - ass_set_font_scale(ass_renderer, 1.); ass_set_fonts(ass_renderer, NULL, "Sans", 1, NULL, 1); } |