1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-16 16:02:54 +02:00
Commit Graph

82 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
27d483e9ef Include vlc_plugin.h as needed 2008-05-08 19:20:21 +03:00
Rémi Denis-Courmont
6da90a1716 vlc_mutex_init: remove unused paramter 2008-05-04 14:14:46 +03:00
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.
2008-04-14 02:02:22 +02:00
Pierre d'Herbemont
a78e273ec5 misc/objects.c: Don't rely on vlc_object_destroy() to destroy objects, but expects vlc_object_release to do it when the refcount goes to zero.
* Meaning, that when created objects gets a refcount to 1.
* Destroying is instantaneous and we don't have to poll for a few secondss or so to wait until the object's refcount reach 0.
* We now track vlc_object_t's mem leaks when libvlc_global is released (Hard error for now, so they don't get unoticed)
* We fail hard if an object is released with a refcount of 1 without being detached from its parent and its children, to make sure such cases don't go unoticed.
(make test or make check still pass after that one. VLC is known to leak one object when no module is loaded, this must be fixed).
2008-02-26 00:29:12 +00:00
Ilkka Ollakka
163fe44a98 fix align setting, p_spu->p_region is null there 2008-02-01 17:59:06 +00:00
Rafaël Carré
733a686ea2 video_filter: fix warnings
declare unused parameters in vlc callbacks as void
    deinterlace/RenderX() & motionblur/Copy(): remove unused argument
2008-01-29 13:46:15 +00:00
Rémi Denis-Courmont
99fab9089e Don't include config.h from the headers - refs #297.
Missing some cases that I could not test.
Also ffmpeg/chroma.c is locked, so I can but leave it broken.
Fix is for the remaining modules is obvious and the issue is easy to detect.
2008-01-23 21:50:58 +00:00
Rémi Denis-Courmont
4f02842805 Revert the so-called whitelisting commits that are actually blacklisting 2008-01-16 17:51:21 +00:00
Rafaël Carré
806cf51658 input options whitelisting, step 2 (refs #1371) 2008-01-16 17:36:14 +00:00
Antoine Cellerier
5a33cfd28d Same change as marq for positioning code. 2008-01-07 20:41:33 +00:00
Rafaël Carré
4714362c3b logo filter: fail early if the logo hasn't been specified (rather than segfaulting) 2007-10-12 18:32:39 +00:00
Rémi Denis-Courmont
e40d134c69 Remove _GNU_SOURCE and string.h too 2007-08-20 19:10:23 +00:00
Rémi Denis-Courmont
81c5ac29fa Remove stdlib.h 2007-08-20 19:08:22 +00:00
Rémi Denis-Courmont
c90be618be More libvlc_global presumed abuse 2007-08-16 17:24:55 +00:00
Rémi Denis-Courmont
37ce2848cd Fix usage of add_shortcut.
Note that shortcuts are inherited from the main module to submodules, so it is
totally useless to duplicate them paste add_submodule. If you think this is
wrong, I do not necessarily disagree, but it would need a RFC.
2007-08-04 18:50:37 +00:00
Jean-Baptiste Kempf
ecf51c903d Logo: Correction spotted by ILEoo and patched by Bernie Purcell. 2007-06-21 06:34:14 +00:00
Laurent Aimar
23cc599d06 Patch by Bernie Purcell :
"This is part of a former submission stripped out for easier
 assimilation. It modifies vout_subpictures to use the existing alignment
 field on each region, rather than the alignment on the subpicture plane
 itself. Modifications are made to everywhere that depended on the former
 behaviour, to make it use the new alignment location instead."
2007-06-18 21:08:03 +00:00
Jean-Paul Saman
94cc428df6 Fix another bunch of: (near initialization for `fmt.i_aspect') warnings. 2007-05-16 14:13:22 +00:00
Antoine Cellerier
f7d32756d2 Don't delete variables that don't exist. 2007-04-15 21:37:49 +00:00
Antoine Cellerier
f5bcfe6da7 Add support for config chain option parsing. 2007-03-25 14:48:56 +00:00
Antoine Cellerier
cc3d897d2f Woops, forgot to remove this reference to p_libvlc_global yesterday. 2007-03-25 13:21:06 +00:00
Antoine Cellerier
f7c6d4e73c Register variables as callback. Don't store module specific variables in p_libvlc_global. They don't belong there. 2007-03-24 18:30:39 +00:00
Antoine Cellerier
6bf818a2c3 Fix #675. 2007-02-11 01:51:45 +00:00
Derk-Jan Hartman
ae6af36087 * motion_detect: use playlist_Control's "lock" argument
* const string fixes 
* make a couple of functions static
2006-12-11 17:22:20 +00:00
Derk-Jan Hartman
8a26156e24 * forwardport [18201]
fixes a big crasher in the DestroyFilter of the logo video filter
2006-12-02 15:02:36 +00:00
Clément Stenac
d3fe7f2879 A bit of headers cleanup
* Headers in include must contain the structures and prototypes needed
  by the plugins and should be named vlc_*.
* Headers in include/vlc must contain the structures and prototypes
  needed by external libvlc clients

* Moved and renamed some things in headers. 
   - Removed vlc_cpu.h, vlc_error.h (merged in vlc_common)
   - Removed snapshot.h (merged in vlc_vout.h)
   - Removed vlc_spu.h (merged in vlc_osd.h)
   - Removed intf_eject.h and vlc_interaction.h (merged in vlc_interface)
   - Moved all internal headers to src
   - Merged vlc_video.h and video_output.h and move private things to src
   - Removed vlc/intf.h, vlc/aout.h, vlc/vout.h, vlc/decoder.h and vlc/input.h
     (meta headers for use in modules, and often implying too large 
     dependencies)
* Removed some useless dependencies
* Unexported a bunch of functions and structures used only in src/
  (--> Still some work here)
* Finally made input_thread_t and input_source_t (mostly) private. 
  Added input_GetItem to fetch the input_item of an input_thread
* Cleaned up deprecated entries in vlc_symbols.h and bumped up symbol 
  prefix

This commit has a 99% probability of breaking the build, 0.1% of killing
your cat and 0% of getting you hot chicks.
2006-11-26 14:20:34 +00:00
Christophe Mutricy
dc8b128a9f forward port [17012] and make update-po 2006-10-09 22:37:29 +00:00
Antoine Cellerier
98d70ea80c use config chain stuff in logo, rss and mosaic sub filters too. 2006-10-01 16:53:48 +00:00
Clément Stenac
f485214f09 For consistency, remove references to vlc from libvlc
Also, make it clearer what is shared and instance-specific

So,
libvlc_t ==> libvlc_global_t
vlc_t ==> libvlc_int_t (internal instance)

p_object->p_libvlc ==> p_object->p_libvlc_globale
p_object->p_vlc ==> p_object->p_libvlc

VLC_OBJECT_VLC ==> VLC_OBJECT_LIBVLC

And by the way, there is some cleanup required :) (ie, some things are created in the global object instead of the instance-specific one)
2006-09-15 14:31:51 +00:00
Christophe Mutricy
8895a505b0 typo 2006-08-31 09:51:05 +00:00
Derk-Jan Hartman
70631390cd * p_input->p_libvlc == p_filter->p_libvlc: remove p_input dependancy here. 2006-08-10 12:51:53 +00:00
Clément Stenac
2d824acd42 Fix duplicate definitions of FREE 2006-08-03 15:34:08 +00:00
Felix Paul Kühne
778a77df2d * 2nd review of video* and control/telnet.c 2006-03-31 16:12:31 +00:00
Clément Stenac
5f18b9dd6a Video filters and outputs strings (Refs:#438) 2006-03-30 08:40:51 +00:00
Antoine Cellerier
a93b52882e Logo filter(s) now takes a list of images, delays and alpha as input and
loops through these. The syntax is <file>[,[<delay in ms>][,[<alpha>]]][;...]
Idea (and some parts of the code) by markfm

Note:
The vout-filter segfaults upon destruction but i don't understand why...
could someone have a look ?
2006-02-17 14:56:06 +00:00
Antoine Cellerier
2cb472dba0 FSF address change. 2006-01-12 23:10:04 +00:00
Gildas Bazin
f2a9e65e07 * modules/video_filter/*: use p_vout->fmt_in/out. 2005-10-25 19:24:21 +00:00
Clément Stenac
ffc45b9454 Fix a bunch of preferences errors
- Missing value lists
 - advanced / non-advanced problems
 - description problems
 - tyops
2005-10-11 17:16:13 +00:00
Jean-Paul Saman
a92603f209 Merged OSD functionality on the same core functions. All OSD functionality is described in include/vlc_osd.h now, which entirely replace include/osd.h. The file src/video_output/video_widgets.c uses functionality from src/osd/osd_widgets.c now. 2005-08-27 16:40:23 +00:00
Antoine Cellerier
9097bc1db4 remove tabs and trailing spaces 2005-08-17 20:53:38 +00:00
Rémi Denis-Courmont
fe087a3828 Make Zorglub less unhappy 2005-07-09 06:17:09 +00:00
Rémi Denis-Courmont
85b29bdc28 Copyright fixes
(da big courmischage)
2005-07-08 18:12:44 +00:00
Gildas Bazin
3f6f97f132 * include/video_output.h, ALL: changed api for vout_Request()/vout_Create() to be more flexible. 2005-03-05 16:49:15 +00:00
Mark Moriarty
fcb440b4f4 Make logo-x, logo-y operate relative to upper left corner. logo-x/-y/-position/-transparency accessible via rc 2005-03-04 12:12:11 +00:00
Clément Stenac
ba9826cacf Preferences consistency fixes by Christophe Mutricy <xtophe at nxtelevision d0t com>
+ put access and demux in the right place
2005-03-03 06:58:04 +00:00
Gildas Bazin
df0d5be15e * modules/video_filter/logo.c: --logo-transparency works again. 2004-12-16 20:28:27 +00:00
Gildas Bazin
ddd93218f7 compilation fixes. 2004-12-16 19:52:05 +00:00
Gildas Bazin
a759bc67b6 modules/video_filter/logo.c: use image handler. 2004-12-16 17:55:50 +00:00
Clément Stenac
906b68fe03 Fix a bug with preferences
Added some more names
Use shortname to store the name
2004-12-16 16:35:12 +00:00
Clément Stenac
a90a19a6b0 Improvements to preferences
* Each module can declare a "human-readable short name" with set_name
* Modules are sorted by category (set_category, set_subcategory).
  Modules configs can be separated by set_section()
* Separated audio-filter and audio-visual
* Separated extraintf and control
* New command and widget : add_module_list() for comma-separated modules
* Vfilters now use "," as separator
2004-12-11 14:45:46 +00:00