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

40 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
5b55ee1bb0 Use vlc_memset/vlc_memcpy 2008-05-03 17:17:30 +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
Rémi Duraffort
0f00164eb9 Remove useless test before a free(). 2008-03-12 12:07:42 +01: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
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
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
df507aa7f3 Remove trailing space. 2007-03-31 22:03:59 +00:00
Antoine Cellerier
f5bcfe6da7 Add support for config chain option parsing. 2007-03-25 14:48:56 +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
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
Clément Stenac
5f18b9dd6a Video filters and outputs strings (Refs:#438) 2006-03-30 08:40:51 +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
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
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
Gildas Bazin
56b5483c56 * ALL: use i_visible_lines in plane_t. 2004-08-28 17:36:02 +00:00
Felix Paul Kühne
5b67f077c2 * ALL: minor spelling fixes 2004-06-28 14:16:51 +00:00
Sam Hocevar
4b9f4ff644 * Massive spelling corrections. 2004-04-27 16:35:15 +00:00
Gildas Bazin
7e97a49194 * modules/video_filter/*: implemented a forwarding vout_vaControl(). 2004-04-23 20:01:59 +00:00
Derk-Jan Hartman
ffdca9af74 * Stringreview !!! 2004-01-25 20:05:29 +00:00
Gildas Bazin
8b784013ef * modules/video_filter/*: forward fullscreen event between children and parent. 2003-10-15 22:49:48 +00:00
Christophe Massiot
d5791c9cc1 * now 0.6.0-cvs
* ALL: Capitalize all preferences text strings
2003-05-15 22:27:38 +00:00
Gildas Bazin
a1e8137774 * modules/*: sanitization of the modules description strings. 2003-03-30 18:14:39 +00:00
Gildas Bazin
976a25d5c9 * modules/video_filter/clone.c: new --clone-vout-list config option, courtesy of Olivier Aubert.
Allows to specify a comma separated list of vout plugins that we want to be used by the clone filter.
* modules/video_filter/*: don't forget to detach the vout before destroying it.
2003-03-18 23:30:28 +00:00
Sigmund Augdal Helberg
5a13b475ce * include/configuration.h: added a new flag to the configuration stucture to
indicate wether it is an "advanced" option or not. The goal with this is to
hide the user from all the strange options that very seldom needs to be
changed. added an extra argument to all the add_* macros to indicate wether
the item is advanced or not.
* src/libvlc.h: added an "show advanced options" config option default
disabled
* src/libvlc.c: the advanced options are not listed by vlc --help and
friends unless --advanced is used
* modules/gtk/preferences.c: the gtk/gnome preferences dialog don't show
advanced options unless advanced is set
all: set the advanced flag to VLC_FALSE or VLC_TRUE for all options, by
using some common sense. Please check and correct

note: All interfaces should still work like they used to, see the change in
modules/gtk/preferences.c to find out how to "hide" options.

second note: I think I've changed all the modules, but I could not test
everyone for compilation, expect some broken modules (the fix is to add ",
VLC_TRUE" as last argument to the add_* I forgot)
2003-02-20 01:52:47 +00:00
Sam Hocevar
b05a2422f4 * ./src/video_output/video_output.c: don't try to change aspect ratio if it
has been overriden by the user (Closes: #79).
  * ./modules/access/dvd/access.c: renamed "dvd-css-method" to "dvdcss-method".
  * ./modules/*: fixed a few capitalization issues.
2003-01-28 22:03:21 +00:00
Sam Hocevar
4da4c94a41 * ./modules/video_filter/**/*.c: mouse clicks and keyboard events are now
sent to the parent video output by all filters, and mouse coordinates are
    translated when necessary (Closes: #15).
2003-01-17 16:18:03 +00:00
Sam Hocevar
00a30b7bca * ./modules/video_filter/*.c: all filters now properly use i_visible_pitch
instead of i_pitch for pixel access (Closes: #30).
2003-01-09 17:47:05 +00:00
Sam Hocevar
e2da42f973 * ./src/video_output/video_output.c, modules/*: factorized video output
creation code into vout_Request which looks for existing vout objects
    and spawns a new one if none was found.
2002-11-28 17:35:01 +00:00
Sam Hocevar
f6cf9ef8b8 * ./modules/video_output/wingdi.c: the GDI video output now properly sets
the bitmasks; we're not limited to 8bpp and 16/24 works.
  * ./modules/video_filter/*: the video filters now work under WinCE.
2002-11-23 02:40:30 +00:00
Sam Hocevar
19ea8feb6d * ./modules/*: moved plugins to the new tree. Yet untested builds include
waveout, directx, qnx, beos, win32, macosx, and the AltiVec modules.
  * ALL: removed mention of AC3 in favour of A52.
  * ./configure.in, ./Makefile*: modules can now be built deeper than 1
    directory. As a consequence, the build is even slower (but I'm fixing
    this) and make clean doesn't work anymore.
2002-08-04 17:23:44 +00:00