Jean-Baptiste Kempf
c22b7e0ece
Video Filter: use rgb to define colors
2011-10-31 00:42:19 +01:00
Rémi Denis-Courmont
231b08e802
Remove dummy plugin config item parameter
2011-05-13 23:20:55 +03:00
Yuval Tze
9d86e0b645
Refactor: rename "sub-filter" to "sub-source" this includes capability, functions, constants, user messages and command line parameter.
...
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-04-20 11:48:21 +03:00
Rémi Denis-Courmont
0e17b717fe
XML: return attribute value as const
...
This simplifies error and memory handling.
A few memory leaks were fixed.
2011-01-22 11:20:57 +02:00
Rémi Denis-Courmont
ad10f794dd
XML: return node (element name or text value) as const
...
This simplifies memory handling in most cases.
2011-01-20 23:24:52 +02:00
Rémi Denis-Courmont
3dbfa99f14
Return XML attribute as const from NextAttr
...
The attribute name is valid until the next attribute or next node.
This simplifies the code a bit: fewer error paths, and free() calls.
A few potential memory leaks were fixed too.
2011-01-20 19:28:15 +02:00
Rémi Denis-Courmont
59f0684a6f
XML: merge read and node_type operations, skip unknown nodes
2011-01-20 00:09:31 +02:00
Rémi Denis-Courmont
40b4d780a4
add_bool: remove callback parameter
2010-10-22 21:11:38 +03:00
Rémi Denis-Courmont
f98a66cea0
add_integer: remove callback parameter
2010-10-22 21:10:50 +03:00
Rémi Denis-Courmont
3204d23260
Remove legacy parameter from add_string()
2010-10-22 21:09:47 +03:00
Rémi Denis-Courmont
e5622718c1
Remove unused change_integer_list parameter
...
Changing the choice list of a configuration item is not thread-safe.
Plus it does not make much sense to use a strict choice list if the
choices change dynamically.
If ever needed, we can invent a suggestions list system later, just
like we already do for SD plugins enumeration.
2010-10-22 20:00:10 +03:00
Rémi Denis-Courmont
9d016759c2
xml_ReaderDelete: remove useless parameter
2010-07-27 22:33:36 +03:00
Rémi Duraffort
a9d0016e1b
modules: use the new add_shortcut capability (add multiple shortcuts at a time).
2010-06-12 09:11:15 +02:00
Laurent Aimar
a01d5d94f9
Removed now useless vlc_osd.h includes.
2010-05-04 22:25:34 +02:00
Laurent Aimar
e875fef573
Removed OSD_ALIGN_* flags.
...
SUBPICTURE_ALIGN_* must be used instead.
2010-05-04 22:25:33 +02:00
Laurent Aimar
0648b216b1
Fixed RSS text positionning ( close #3115 ).
...
Initial patch by Gerrit van den Hanenberg.
2010-02-14 11:36:36 +01:00
Jean-Baptiste Kempf
b158efcfd9
Shortname corrections
2010-01-28 14:07:23 +01:00
Geoffroy Couprie
c766d434b0
Add a bunch of help strings. Feel free to correct them, and add more
2010-01-03 14:19:44 +01:00
Laurent Aimar
d466fd4185
Removed es_format_t::i_aspect.
...
It was duplicated with es_format_t::i_sar_num/den.
2009-12-16 22:00:47 +01:00
Rémi Denis-Courmont
25232e200b
Do not assert memory allocations
2009-12-06 11:58:34 +02:00
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().
2009-12-05 22:25:43 +01:00
Rémi Duraffort
857d04d725
video_filter_rss: fix remaining potential memleaks and crash.
2009-09-02 14:28:27 +02:00
Rémi Duraffort
926cc39222
video_filter_rss: sanitize error path (and fix a potential memleak).
2009-09-02 14:28:27 +02:00
Rémi Duraffort
4bd3d7cd57
video_filter_rss: cosmetics, remove unused variable and add myself to the authors.
2009-09-02 14:28:26 +02:00
Rémi Duraffort
b9bf6dc0ca
video_filter_rss: asynch fetch (no more lags while fetching/parsing the rss feeds).
2009-09-02 09:13:29 +02:00
Rémi Duraffort
2838403d28
video_filter_rss: use a timer to update the feed. This way we will be able to
...
have an asynchronous fetch (not the case for the moment as the lock is taken
during the complete fetch ).
2009-09-02 07:59:48 +02:00
Rémi Duraffort
352188c2d9
video_filter_rss: use the return value and fix mutex leak (the mutex was never
...
used but it will be used soon).
2009-09-02 07:59:48 +02:00
Rémi Duraffort
801b6eb96c
video_filter_rss: use a dedicate function to parse the feeds (and fix a bug due
...
to wrong variable scope).
2009-08-31 18:07:21 +02:00
Rémi Duraffort
7dd25734ec
video_filter_rss: factorize and fix object leaks and memleaks.
2009-08-31 17:35:09 +02:00
Rémi Duraffort
e6bf18496f
video_filter_rss: cosmetics.
2009-08-31 17:35:09 +02:00
Rémi Duraffort
8cca5e8e5d
video_filter_rss: parse the rss-urls string only one time and store the result.
2009-08-31 17:35:08 +02:00
Christophe Mutricy
6fd538c39e
Typos
2009-07-11 20:24:21 +01:00
Rémi Duraffort
bd70c3b448
rss: factorize.
2009-07-01 11:37:16 +02:00
Rémi Duraffort
4a18031fe2
rss: remove a dummy lock (we don't need to lock the mutex when the module is
...
created or destroyed). We also don't need to delete the variable (they will be
destroyed).
2009-07-01 10:46:52 +02:00
Rémi Duraffort
f759a373ab
rss: fix a memleak (double strdup) and ad a missing const.
2009-07-01 09:07:19 +02:00
Rémi Duraffort
4fa2ca55c0
rss: fix object leak.
2009-06-30 21:22:00 +02:00
Rémi Duraffort
51cb4767dc
Global headers.
2009-06-30 08:44:04 +02:00
Laurent Aimar
036a6a2e9e
Do not uselessly include vlc_vout.h in filters.
2009-05-16 20:22:41 +02:00
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.
2009-05-13 21:18:19 +02:00
basOS G
681ac9f14e
Added and used text_style_* methods.
...
It had the following functions:
- text_style_New -- allocates default text style
- text_style_Dup -- allocates and copies text style
- text_style_Copy -- copies text style
- text_style_Delete -- deallocates text style
NOTE that the vout_ShowText* functions will take a p_style and copy
it internally so you have to free in the caller function.
Other modules where p_style was malloced there are now fixed to
copy before calling the vout* functions.
Original patch by basOS G with a few modifications by fenrir.
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
2009-05-11 23:41:33 +02:00
Rémi Denis-Courmont
f1590d98ae
Trailing ;
2009-01-28 21:49:29 +02:00
Rémi Denis-Courmont
fa4bde0b26
Trailing ;
2009-01-27 23:42:49 +02:00
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
.
2008-10-29 22:14:26 +02:00
Laurent Aimar
f0c76d5063
Clean up a bit subpicture region API.
2008-09-21 00:21:39 +02:00
Laurent Aimar
5002a53517
Removed vout_CopyPicture in favor of picture_Copy.
2008-09-21 00:21:39 +02:00
Laurent Aimar
8f83ef4b74
Changed subpicture_region_t->picture into a picture_t *
...
It will avoid useless picture copy.
2008-09-20 16:38:01 +02:00
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.
2008-09-15 21:55:34 +02:00
Laurent Aimar
3318cf724a
Removed useless width/height fields in subpicture_t.
2008-09-15 21:55:34 +02:00
Antoine Cellerier
857535cbac
Fix segfault on 64 bit archs. (0 != NULL)
2008-08-24 21:58:07 +02:00
Rémi Duraffort
2b0814abd0
Fix memleak with malformatted RSS input.
2008-08-15 21:44:28 +02:00