Sébastien Toque
047af27e19
libass: add android default font
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years ago
Jean-Baptiste Kempf
615d535cd4
Libass: improve the fontcache display
14 years ago
Laurent Aimar
d675b5e296
Revert "libass: add message callback"
This reverts commit 3e6913a3f4 .
The decoder object can be destroyed before libass is and so cannot be
used for logging.
15 years ago
Grigori Goronzy
ab9b56ca95
libass: match font attachments based on extension
Sometimes fonts are muxed with the wrong MIME type, but we should
still be able to use them. Especially OpenType font collections are
affected by this. Match attachments by extensions .ttf, .otf and .ttc
in addition to MIME type to fix these issues.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years ago
Grigori Goronzy
3e6913a3f4
libass: add message callback
Add a message callback function to get libass messages into VLC's
logging system.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
15 years ago
Rémi Duraffort
728866a80a
posterize: remove unused variable (set but not used)
15 years ago
Laurent Aimar
212d833ce5
Simplified libass decoder as we are now requiring a reentrant version.
It also fixes a potential bug (fonts not always loeaded) on input changes.
15 years ago
Laurent Aimar
0202d37d15
Required libass 0.9.8
15 years ago
Laurent Aimar
5546a96be4
Render SSA subtitles at the size it is blended.
15 years ago
Jean-Baptiste Kempf
852f0db978
libass: kill unused variable warnings
16 years ago
Laurent Aimar
a01d5d94f9
Removed now useless vlc_osd.h includes.
16 years ago
Laurent Aimar
08a73f8b33
Simplify the creation of subpicture with dynamic content.
16 years ago
Jean-Baptiste Kempf
d8e03df80c
libass/win32: Factorize
16 years ago
Jean-Baptiste Kempf
53e0140904
Libass: put the dialog, where we actually need it.
16 years ago
Jean-Baptiste Kempf
1402fd523e
Libass: simplify and do not call ass_set_fonts_dir
This should continue to fix the fontconfig caching bugs
16 years ago
Grigori Goronzy
1a974cea52
libass: avoid crash on ASS_Images which have width or height == 0
17 years ago
Rémi Denis-Courmont
5281440cca
Remove config_GetCacheDir
17 years ago
Grigori Goronzy
e8189268e1
libass: rename types to match upstream
Rename types and add compatibility macro for old libass versions.
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
17 years ago
Anthony Loiseau
29e7fc7108
codec/libass: avoid possible segfault
dialog_ProgressCreate can return NULL. For this case,
only deal with the result if it is not NULL.
Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
17 years ago
Laurent Aimar
6456512fc6
Improved pre-blending in ssa decoder.
17 years ago
Laurent Aimar
e1cfb704f3
Fixed libass 0.9.7 support.
b670356d16 introduced a segfault.
17 years ago
Laurent Aimar
16be5123ac
Used light hinting in libass to increase the quality.
17 years ago
Laurent Aimar
fea2b3459e
Removed useless pre render callback in ssa decoder.
17 years ago
Laurent Aimar
5cb92e0692
Fixed flicker with overlapped subtitles in ssa.
17 years ago
Barry Wardell
b670356d16
Update SSA/ASS subtitle decoder for the new version of libass included in contribs.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
17 years ago
Jean-Baptiste Kempf
6d833c2c5d
Fix typo.
17 years ago
Jean-Baptiste Kempf
371d024548
SSA on Windows: show a progress dialog during font rebuilding.
This is probably not enough to fix all the fontconfig issues.
(cherry picked from commit f25ad01cfe060e31ebc848c652688a550efcae9b)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
17 years ago
Laurent Aimar
9278fb81ed
Do not uselessly include vlc_vout.h in decoders.
17 years ago
Laurent Aimar
724461bdf2
Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable.
There will be some regressions, I used automatic sed replacement with manual
checks but there was a lot to change.
It's only the first pass.
17 years ago
Jean-Baptiste Kempf
e5aac02e8a
Libass: set more debug messages.
17 years ago
Laurent Aimar
7a0c49ac84
All decoders/encoders MUST set output format category (AUDIO/VIDEO/SPU_ES)
17 years ago
Laurent Aimar
01fdef51d6
Fixed a typo in libass.
18 years ago
Laurent Aimar
afec80a73d
libass: set windows/fonts as default directory
Initial patch by Hannes Domani with the comments:
"Hello
this fixes the problem when font is not attached in mkv.
was mentioned in:
http://forum.videolan.org/viewtopic.php?f=14&t=51096&p=166340
http://forum.videolan.org/viewtopic.php?f=7&t=50534&p=163900
"
18 years ago
Rémi Denis-Courmont
0549228196
Remove most stray semi-colons in module descriptions
Those multi-lines are still to be done (it's going to be fun...)
See also 5af4cc854b .
18 years ago
Laurent Aimar
0357e2cf82
Added decoder_NewSubpicture/decoder_DeleteSubpicture helpers.
18 years ago
Rémi Denis-Courmont
e398428451
Use static mutexes
18 years ago
Laurent Aimar
6bd606ac8d
Spu pause support.
Now SSA subtitle pause is working even with karaoke.
18 years ago
Laurent Aimar
f6cc8a3950
Convert stream to system timestamp after the decoder.
- This is needed for proper seek/pause/fast forward/...
- The decoder/packetizer do not need to scale packet length anymore as the
decoder thread do it.
18 years ago
Laurent Aimar
f0c76d5063
Clean up a bit subpicture region API.
18 years ago
Antoine Cellerier
1a3b1a8f27
Remove last occurences of yield in the code and comments.
18 years ago
Laurent Aimar
8f83ef4b74
Changed subpicture_region_t->picture into a picture_t *
It will avoid useless picture copy.
18 years ago
Laurent Aimar
894f901f69
Used const for video_format_t when possible.
I have updated spu_RenderSubpictures and subpicture_region_t->pf_pre_render/pf_update_regions.
18 years ago
Laurent Aimar
1fd2f3cc9c
Fixed ASS subtitle with anamorphic video.
18 years ago
Laurent Aimar
14dd917d87
Removed unused or redondant fields from subpicture.
I removed:
i_x/i_y: redondant with region i_x/i_y. Now a subpicture always represent the
whole video.
i_flags: unused anywhere in the core.
I may have broken a few video filters (osdmenu mainly). I will fix it if you
report the problem and the way to reproduce it.
18 years ago
Laurent Aimar
f93b233d65
Removed b_pausable flag in favour of b_subtitle.
18 years ago
Derk-Jan Hartman
e713ca1d76
libass: Set Arial as the default family.
This is a fallback option in case we cannot find a match. We don't set a default actual font, since we do not ship one with VLC. We can set one per platform, but I don't think it is worth the trouble.
18 years ago
Derk-Jan Hartman
ebbfe66d4d
libass: ass_set_fonts_dir() is for a "private" storage place for fonts in case any of them need to be extracted.
Since we support fontconfig fontlookup on windows/mac/*nix there should be no real need to actually use this directory, but we still need to set one.
18 years ago
Derk-Jan Hartman
d9ec65d5d9
libass: swap the R and B color components.
Originally in wrong order because of a blend bug that presented itself on fenrir's setup.
18 years ago
Derk-Jan Hartman
d1546c2e83
libass: move attachments processing before the ass_set_fonts_dir() option which enables those fonts.
Set a fonts_dir for OSX. We might wanna fix that later on.
18 years ago
Laurent Aimar
6f29ed2170
Handle libass seeking by recreating the track.
18 years ago