]> granicus.if.org Git - libass/log
libass
18 years agoAdd \be (blur edges) support to libass.
eugeni [Sat, 16 Sep 2006 13:32:46 +0000 (13:32 +0000)]
Add \be (blur edges) support to libass.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19854 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoStore bitmap glyphs in a separate struct, instead of FreeType's internal buffer.
eugeni [Sat, 16 Sep 2006 13:08:17 +0000 (13:08 +0000)]
Store bitmap glyphs in a separate struct, instead of FreeType's internal buffer.
This is required for various bitmap modifications (like blur, outline and shadow).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19852 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoMake font outline width proportional to movie resolution.
eugeni [Wed, 13 Sep 2006 15:35:10 +0000 (15:35 +0000)]
Make font outline width proportional to movie resolution.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19831 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoBugfix: timing for empty karaoke words was lost, resulting
eugeni [Wed, 6 Sep 2006 17:32:31 +0000 (17:32 +0000)]
Bugfix: timing for empty karaoke words was lost, resulting
in faster than normal karaoke playback.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19722 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoWorkaround for broken fonts with bad ascender/descender.
eugeni [Tue, 5 Sep 2006 20:06:20 +0000 (20:06 +0000)]
Workaround for broken fonts with bad ascender/descender.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19699 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoChange \fad behaviour so that it does not get cancelled by \r.
eugeni [Tue, 5 Sep 2006 19:06:15 +0000 (19:06 +0000)]
Change \fad behaviour so that it does not get cancelled by \r.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19698 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoSimplification.
eugeni [Tue, 5 Sep 2006 18:33:31 +0000 (18:33 +0000)]
Simplification.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19697 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoAdd vertical clipping for subtitles that were moved because of a collision.
eugeni [Mon, 4 Sep 2006 17:55:57 +0000 (17:55 +0000)]
Add vertical clipping for subtitles that were moved because of a collision.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19670 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoFix possible unallocated memory read in libass line wrapping code.
eugeni [Mon, 4 Sep 2006 17:52:28 +0000 (17:52 +0000)]
Fix possible unallocated memory read in libass line wrapping code.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19669 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoApply -ass-force-style also to matroska plaintext subs.
eugeni [Sun, 3 Sep 2006 17:57:41 +0000 (17:57 +0000)]
Apply -ass-force-style also to matroska plaintext subs.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19660 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoCosmetics: restore indentation after recent changes.
eugeni [Sun, 3 Sep 2006 17:44:25 +0000 (17:44 +0000)]
Cosmetics: restore indentation after recent changes.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19659 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoAdd -ass-styles option. It allows to load styles from a file and use them
eugeni [Sun, 3 Sep 2006 17:42:31 +0000 (17:42 +0000)]
Add -ass-styles option. It allows to load styles from a file and use them
for plain text subtitles rendering.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19658 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoFix last commit.
eugeni [Sun, 3 Sep 2006 17:36:29 +0000 (17:36 +0000)]
Fix last commit.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19657 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoMore checks in ass_render_event.
eugeni [Sun, 3 Sep 2006 17:25:04 +0000 (17:25 +0000)]
More checks in ass_render_event.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19656 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoRemove unneeded variable.
eugeni [Sun, 3 Sep 2006 17:09:53 +0000 (17:09 +0000)]
Remove unneeded variable.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19655 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoass-color and ass-border-color options.
eugeni [Sun, 3 Sep 2006 12:18:49 +0000 (12:18 +0000)]
ass-color and ass-border-color options.
Only plain text subtitles are affected.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19652 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoAdd support for rendering matroska plaintext subtitles with libass.
eugeni [Sat, 2 Sep 2006 20:46:26 +0000 (20:46 +0000)]
Add support for rendering matroska plaintext subtitles with libass.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19649 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoDon't sort events when reading external subs. With r19644, the order does not matter.
eugeni [Sat, 2 Sep 2006 19:21:40 +0000 (19:21 +0000)]
Don't sort events when reading external subs. With r19644, the order does not matter.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19645 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoBetter collision detection algorithm. The idea is to keep a subtitle in place
eugeni [Sat, 2 Sep 2006 19:17:32 +0000 (19:17 +0000)]
Better collision detection algorithm. The idea is to keep a subtitle in place
when a lower placed one disappears, thus improving readability.
As a side effect, layers are supported now.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19644 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoRemove some unused code.
eugeni [Sat, 2 Sep 2006 18:33:51 +0000 (18:33 +0000)]
Remove some unused code.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19642 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoRead layer info from external subs.
eugeni [Sat, 2 Sep 2006 18:10:04 +0000 (18:10 +0000)]
Read layer info from external subs.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19641 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoMake \fr* parameter a floating point value.
eugeni [Fri, 1 Sep 2006 20:36:38 +0000 (20:36 +0000)]
Make \fr* parameter a floating point value.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19628 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoBugfix: potential write of unallocated memory.
eugeni [Thu, 31 Aug 2006 22:45:20 +0000 (22:45 +0000)]
Bugfix: potential write of unallocated memory.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19618 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoBugfix: wrong height value used in font size calculation.
eugeni [Thu, 31 Aug 2006 20:19:19 +0000 (20:19 +0000)]
Bugfix: wrong height value used in font size calculation.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19616 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoChange default font family and color for plain text subs.
eugeni [Tue, 29 Aug 2006 21:14:57 +0000 (21:14 +0000)]
Change default font family and color for plain text subs.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19598 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoBugfix: strdup of NULL value.
eugeni [Tue, 29 Aug 2006 18:15:48 +0000 (18:15 +0000)]
Bugfix: strdup of NULL value.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19594 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoApply -ass-force-style also to tracks generated from subdata.
eugeni [Tue, 29 Aug 2006 10:35:58 +0000 (10:35 +0000)]
Apply -ass-force-style also to tracks generated from subdata.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19590 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoIgnore '*' at the beginning of style name.
eugeni [Mon, 28 Aug 2006 16:59:29 +0000 (16:59 +0000)]
Ignore '*' at the beginning of style name.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19573 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoFix font scaling taking margins into account.
eugeni [Mon, 28 Aug 2006 16:43:17 +0000 (16:43 +0000)]
Fix font scaling taking margins into account.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19572 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoAdd -(no)ass-use-margins option.
eugeni [Mon, 28 Aug 2006 15:12:45 +0000 (15:12 +0000)]
Add -(no)ass-use-margins option.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19569 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoCosmetics: fix indentation after r19562.
eugeni [Sun, 27 Aug 2006 22:15:46 +0000 (22:15 +0000)]
Cosmetics: fix indentation after r19562.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19563 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoTransition effects support.
eugeni [Sun, 27 Aug 2006 22:12:31 +0000 (22:12 +0000)]
Transition effects support.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19562 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoSimplify ass_glyph_cache_reset().
eugeni [Sat, 26 Aug 2006 20:09:54 +0000 (20:09 +0000)]
Simplify ass_glyph_cache_reset().

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19551 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoReset glyph cache on reconfigure.
eugeni [Sat, 26 Aug 2006 19:00:21 +0000 (19:00 +0000)]
Reset glyph cache on reconfigure.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19545 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoAdd right and left margins support to libass.
eugeni [Sat, 26 Aug 2006 18:24:37 +0000 (18:24 +0000)]
Add right and left margins support to libass.
Add ability to not use margins even when they are available.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19544 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoFix previous commit.
eugeni [Thu, 24 Aug 2006 15:38:28 +0000 (15:38 +0000)]
Fix previous commit.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19524 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoSimplify vf_ass initialization.
eugeni [Thu, 24 Aug 2006 15:36:20 +0000 (15:36 +0000)]
Simplify vf_ass initialization.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19523 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoNew cmdline option: -ass-force-style.
eugeni [Tue, 22 Aug 2006 23:20:05 +0000 (23:20 +0000)]
New cmdline option: -ass-force-style.
Allows overriding any style parameter from command line.
Idea and original patch by Konstantin G. Khlebnikov { koct9i aT gmail doT com }.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19501 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoSSA/ASS parser reworked, with 2 main results:
eugeni [Tue, 22 Aug 2006 22:11:01 +0000 (22:11 +0000)]
SSA/ASS parser reworked, with 2 main results:
support for script embedded fonts (fonts, uuencoded directly into script) added;
matroska interface functions have got more sensible names.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19498 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agouse of malloc without prototype.. very bad on 64bit archs
rfelker [Mon, 21 Aug 2006 22:02:49 +0000 (22:02 +0000)]
use of malloc without prototype.. very bad on 64bit archs

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19490 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agono c++ decls!
rfelker [Mon, 21 Aug 2006 21:46:59 +0000 (21:46 +0000)]
no c++ decls!

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19487 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoAdd public functions for removal of styles and events.
eugeni [Mon, 21 Aug 2006 16:33:13 +0000 (16:33 +0000)]
Add public functions for removal of styles and events.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19480 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoMove all internal -I parameters to the front of CFLAGS to avoid using external
diego [Thu, 17 Aug 2006 17:19:56 +0000 (17:19 +0000)]
Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.
based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoFix wrong handling of transparency in \fad(\fade).
eugeni [Wed, 16 Aug 2006 00:54:59 +0000 (00:54 +0000)]
Fix wrong handling of transparency in \fad(\fade).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19412 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoReplace stdint.h with inttypes.h.
eugeni [Tue, 15 Aug 2006 22:46:56 +0000 (22:46 +0000)]
Replace stdint.h with inttypes.h.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19411 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoAngle value from style was ignored. Not anymore.
eugeni [Tue, 15 Aug 2006 20:41:53 +0000 (20:41 +0000)]
Angle value from style was ignored. Not anymore.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19410 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoAdd subdata to ass_track conversion for external subtitles.
eugeni [Tue, 15 Aug 2006 19:25:46 +0000 (19:25 +0000)]
Add subdata to ass_track conversion for external subtitles.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19407 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoCosmetics: fix indentation after the last patch.
eugeni [Tue, 15 Aug 2006 14:43:04 +0000 (14:43 +0000)]
Cosmetics: fix indentation after the last patch.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19405 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoAllow \fade to be used in place of \fad and vice versa.
eugeni [Tue, 15 Aug 2006 14:40:57 +0000 (14:40 +0000)]
Allow \fade to be used in place of \fad and vice versa.
Now they are distinguished by the number of arguments.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19404 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoReplace %lld with PRId64, part 2.
eugeni [Sun, 13 Aug 2006 10:54:29 +0000 (10:54 +0000)]
Replace %lld with PRId64, part 2.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19384 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoMinGW treats %lld as %d. Replace it with PRId64.
eugeni [Sun, 13 Aug 2006 00:47:33 +0000 (00:47 +0000)]
MinGW treats %lld as %d. Replace it with PRId64.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19380 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoFix compilation with gcc 2.95.
eugeni [Sat, 12 Aug 2006 18:33:19 +0000 (18:33 +0000)]
Fix compilation with gcc 2.95.
Patch by Jason Tackaberry, tack at urandom dot ca.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19376 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoUse FontConfig cache to speedup mplayer startup.
eugeni [Sun, 6 Aug 2006 17:56:01 +0000 (17:56 +0000)]
Use FontConfig cache to speedup mplayer startup.
Patch by Zealot <zealot0630 at gmail dot com>.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19346 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoUnify include paths in the build system, part I.
diego [Thu, 27 Jul 2006 10:08:17 +0000 (10:08 +0000)]
Unify include paths in the build system, part I.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19195 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agomarks several read-only string parameters which aren't modified inside the called...
reynaldo [Sat, 15 Jul 2006 16:03:12 +0000 (16:03 +0000)]
marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19109 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agomarks several function without a prototype which arent used outside its sourcefile...
reynaldo [Thu, 13 Jul 2006 20:59:18 +0000 (20:59 +0000)]
marks several function without a prototype which arent used outside its sourcefile as static, Patch by Stefan Huehner - stefan AT huehner-org

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19071 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoCosmetics.
eugeni [Thu, 13 Jul 2006 18:52:16 +0000 (18:52 +0000)]
Cosmetics.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19069 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoUse FcPatternAdd-Type instead of FcNameParse. The latter, as it turns out, requires...
eugeni [Thu, 13 Jul 2006 18:49:06 +0000 (18:49 +0000)]
Use FcPatternAdd-Type instead of FcNameParse. The latter, as it turns out, requires escaping of some characters ('-', maybe more).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19068 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoSupport 6 argument variant of \move.
eugeni [Wed, 12 Jul 2006 22:28:20 +0000 (22:28 +0000)]
Support 6 argument variant of \move.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19049 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoOPTFLAGS already includes EXTRA_INC.
diego [Wed, 12 Jul 2006 17:58:07 +0000 (17:58 +0000)]
OPTFLAGS already includes EXTRA_INC.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19042 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoSupport some recently discovered color formats.
eugeni [Mon, 10 Jul 2006 23:58:24 +0000 (23:58 +0000)]
Support some recently discovered color formats.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19008 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoIgnoring FT_Glyph_Stroke() errors can potentially lead to double free().
eugeni [Mon, 10 Jul 2006 23:57:17 +0000 (23:57 +0000)]
Ignoring FT_Glyph_Stroke() errors can potentially lead to double free().

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19007 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoOnly match outline fonts.
eugeni [Mon, 10 Jul 2006 23:55:40 +0000 (23:55 +0000)]
Only match outline fonts.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19006 b3059339-0415-0410-9bf9-f77b7e298cf2

18 years agoInitial libass release (without mencoder support).
eugeni [Fri, 7 Jul 2006 18:26:51 +0000 (18:26 +0000)]
Initial libass release (without mencoder support).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18942 b3059339-0415-0410-9bf9-f77b7e298cf2