Jean-Baptiste Kempf
96f479ec39
Build: move subtitles codecs to m/codec/ instead of m/codec/subtitles
Most subtitles codecs are still in m/codec/, like dvbsub, svcdsub, cvdsub, libass, spudec.
This makes it consistent.
This also removes an extra folder to compile...
16 years ago
Rémi Denis-Courmont
958cd03658
subsdec: NULL dereference ( fix #4125 )
16 years ago
Rémi Denis-Courmont
303d8ea42d
subsdec: add a special "local system" character set
16 years ago
Rémi Denis-Courmont
22da31efd9
subsdec: use var_Inherit()
16 years ago
Rémi Denis-Courmont
78d1d1105b
subtitles: make the default character set value explicit
16 years ago
Laurent Aimar
08a73f8b33
Simplify the creation of subpicture with dynamic content.
17 years ago
Laurent Aimar
4602023991
Fixed invalid accesses in decoder with corrupted subtitles streams.
17 years ago
Rémi Denis-Courmont
2a9525ee74
Reimplement Win32 GetACP() using gettext.
17 years ago
Laurent Aimar
5fd8aa306e
Added support for \N \n and \h in subtitles.
17 years ago
Jean-Baptiste Kempf
6c9ba4dcbc
Subtitles: hide {Y:xxx } like tags
17 years ago
Jean-Baptiste Kempf
0e46b87488
Subsdec: initial support for <s> tag
We don't have the renderer for it, so far.
17 years ago
Laurent Aimar
d466fd4185
Removed es_format_t::i_aspect.
It was duplicated with es_format_t::i_sar_num/den.
17 years ago
Rafaël Carré
bd8453b58e
subsdec: use VLC_TS_INVALID (refs #3135 )
17 years ago
Rémi Denis-Courmont
25232e200b
Do not assert memory allocations
17 years ago
JP Dinger
15643af12d
Replace argument = realloc( argument, size ); with realloc_or_free() in modules/*, and while at it add assert( argument ) to mark unhandled ENOMEM conditions, also for malloc().
17 years ago
Rémi Duraffort
6d5d33d497
codec: use var_Get(Integer|Float|String) when applicable.
17 years ago
Rémi Denis-Courmont
38a83c011d
Fix typo in greek ANSI code page
17 years ago
Rémi Denis-Courmont
d322363bb2
Korean: list CP949 instead of EUC-KR
17 years ago
Rémi Denis-Courmont
80ba00a810
Avoid ?: GCC-ism
17 years ago
Laurent Aimar
7b452ff3b0
Used VLC_CODEC_* and i_original_fourcc when applicable.
18 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.
18 years ago
Rémi Denis-Courmont
31921d280c
Rationalize string
18 years ago
Rémi Denis-Courmont
beb42fb174
Revamp subtitle encodings list
- remove practically never used encodings (UTF-32, ARMSCII, Latin-4...),
- remove duplicates and/or subsets (UCS, Latin-1, TIS620...) that I know of,
- provide human-readable names (fixes #2571 ).
18 years ago
Rémi Denis-Courmont
e7c8e7d37c
Remove inexistant MuleLao-1 and NEXTSTEP encodings
18 years ago
Rémi Denis-Courmont
bf4a9109b1
Remove ASCII encoding, subset of UTF-8 (and many other)
18 years ago
Rémi Denis-Courmont
35d67e7f43
Remove inexistent encodings: C99, JAVA and HZ
18 years ago
Laurent Aimar
5c7ef93f15
Improved a bit SRT support.
Added missings realloc/malloc checks.
Added support for not closed html tags (only if missing at the end).
18 years ago
Laurent Aimar
7a0c49ac84
All decoders/encoders MUST set output format category (AUDIO/VIDEO/SPU_ES)
18 years ago
Rémi Denis-Courmont
fa4bde0b26
Trailing ;
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
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
Rémi Duraffort
bd299c445c
Remove allways true test.
18 years ago
Laurent Aimar
65bfaa2681
Improved support for broken subtitles and {\anX} tag.
18 years ago
Laurent Aimar
f0c76d5063
Clean up a bit subpicture region API.
18 years ago
Laurent Aimar
a141e9073c
Handle special blocks in subsdec.
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
Laurent Aimar
db9ea591be
Added support for alignment in subsdec (subrip).
18 years ago
Laurent Aimar
07262663b3
Improve subsdec html output robustness.
18 years ago
Antoine Cellerier
857535cbac
Fix segfault on 64 bit archs. (0 != NULL)
18 years ago
Rémi Denis-Courmont
7c80930728
Do not translate log messages
18 years ago
Laurent Aimar
9b19a07597
Fixed subtitle duration when rate != default.
18 years ago
Laurent Aimar
4e6bc3609e
Use picture helpers.
18 years ago
Rémi Duraffort
37a2578ce4
Remove unneeded msg_Err.
Fix potential segfault (check malloc return value).
18 years ago
Rémi Denis-Courmont
5e15258c9e
A lot of missing const in options lists
18 years ago
Rémi Denis-Courmont
13ae40b0ef
Use gettext_noop() consistently
18 years ago
Jean-Baptiste Kempf
393b34257f
Formatting cleaning
18 years ago
Rémi Denis-Courmont
27d483e9ef
Include vlc_plugin.h as needed
19 years ago
Pierre d'Herbemont
449fd28aaf
Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.
This improves readability a lot and prevent us from reinventing the wheel.
19 years ago