Grigori Goronzy
1a974cea52
libass: avoid crash on ASS_Images which have width or height == 0
16 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
Laurent Aimar
9c537633ba
Handle libass track creation errors.
18 years ago
Laurent Aimar
64a820ebf8
Do not allocate unbound array on the stack.
18 years ago
Laurent Aimar
c3fd61f5d7
Cosmetics + removed a few debugs.
18 years ago
Laurent Aimar
ae39fb41d1
Check against a few libass errors in AssHandleYield.
18 years ago
Laurent Aimar
829be5aaf6
Do not show debug box on libass subtitle by default.
18 years ago