- 14 Dec, 2004 1 commit
-
-
zorglub authored
-
- 11 Dec, 2004 1 commit
-
-
zorglub authored
* 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
-
- 26 Sep, 2004 1 commit
-
-
gbazin authored
-
- 01 Jun, 2004 1 commit
-
-
gbazin authored
-
- 29 Jan, 2004 1 commit
-
-
gbazin authored
* src/misc/configuration.c, include/configuration.h: added a change_action_add()method to associate an action (that can be triggered through a gui) to a config var. * modules/gui/wxwindows/preferences_widgets.*: implemented partial support for change_action_add(). * modules/access/dshow/dshow.cpp: use change_action_add() to refresh the list of devices and to add an option to configure a device.
-
- 25 Jan, 2004 1 commit
-
-
zorglub authored
* Removed trailing spaces
-
- 13 Dec, 2003 1 commit
-
-
gbazin authored
* src/playlist/*: when deleting the currently playing item, skip it instead of stopping the playlist. * include/modules_inner.h, include/configuration.h: don't use a static array anymore during the initialization of the plugins, malloc it instead. This fixes regular overflow problems we have when we increase the number of options in the main module.
-
- 05 Nov, 2003 1 commit
-
-
gbazin authored
String choices lists can now also have a list of text descriptions associated with them. Added integer choices lists. * modules/gui/wxwindows/: modified config widgets to use the new config options. * ALL: updated for the new config options.
-
- 14 Aug, 2003 1 commit
-
-
sigmunau authored
include/configuration.h, src/misc/configuration.h: * added a CONFIG_ITEM_KEY include/vlc_keys.h: * constants to identify keys src/libvlc.h: * provide a set of hotkey config options modules/gui/wxwindows/interface.cpp, wxwindows.h: * set the configured hotkeys as accelerator for the appropriate menus modules/gui/wxwindows/preferences.cpp: * start to support CONFIG_ITEM_KEY. Options are showed with the right value but any changes made have no effect yet.
-
- 10 Aug, 2003 1 commit
-
-
gbazin authored
* include/configuration.h: bug fix for add_string_from_list() * modules/gui/wxwindows/*: added a subtitles encoding combobox in the subtitles dialog.
-
- 03 Aug, 2003 1 commit
-
-
gbazin authored
* src/misc/configuration.c, include/configuration.h, src/audio_output/intf.c, include/audio_output.h, modules/gui/gtk/display.[ch]: configuration variables now use vlc_callback_t callbacks (same as the object variables). * modules/video_output/x11/*: support for the _NET_WM_STATE_FULLSCREEN hint from the Extended Window Manager Hints spec. * modules/audio_output/alsa.c: support for 4.0 and 5.1 audio channels. This time it has been tested ;)
-
- 23 Jul, 2003 1 commit
-
-
gbazin authored
* ALL: changes to the playlist_Add() and VLC_AddTarget() proto to include a list of options associated with the input. * src/input/input.c: parses the input options list before spawning the input and create object variables for these options. Options are of the form "[no[-]]foo[=bar]" where foo is the option name and bar is its value. * src/input/input.c, src/input/input_dec.c: use the object var api to get the value of the "sout", "sout-video" and "sout-audio" options. * src/libvlc.c: extended the command line parser to parse input options. Input options must always follow the input they apply to and begin with a ':'. All these changes allow you to specify input specific options. eg: ./vlc --no-sout-audio yourvideo.mpeg :sout=udp/http::8080 :sout-audio yourvideo2.mpeg Here the ":sout" option will only apply to yourvideo.mpeg. "--no-sout-audio" will be a global option so will apply to yourvideo2.mpeg but the global behaviour is overriden by ":sout-audio" for yourvideo.mpeg. TODO: - the interfaces need to be modified to benefit from the new playlist_Add() api. - only "sout", "sout-video", "sout-audio" implemented for now. To make it work with other options, we need to get rid of all the config_GetFoo() and replace them with var_Create()/var_Change()/var_Get().
-
- 12 May, 2003 1 commit
-
-
gbazin authored
* modules/gui/skins/*: got rid of wxdialogs.h, the skins plugin is now sharing wxwindows.h with the wxwindows plugin. * modules/video_output/directx/events.c: fixed non-initialized variable. * modules/gui/wxwindows/*: misc improvements to the playlist window (added an "Open MRL" menu as well as menus to load and save a playlist, we also make use of the "intf-change" playlist object variable now). * src/playlist/playlist.c: the playlist file is opened in text mode, no win32 eol hack is needed. * src/misc/configuration.c, include/configuration.h: new config_ResetAll() function to reset all config options to their original values (you still need to config_SaveConfigFile()). * modules/gui/wxwindows/preferences.cpp: new "Reset All" button in the preferences panel.
-
- 30 Mar, 2003 2 commits
-
-
gbazin authored
* include/configuration.h: added the add_directory() config macro. * modules/gui/wxwindows/preferences.cpp: support for add_string_from_list(). * ALL: changed some add_string() config options to add_file().
-
gbazin authored
* configure.ac.in: removed the -fno-exceptions gcc option from the compilation of the skins plugin as it might be needed after all. * modules/demux/m3u.c: upped the priority of the m3u demux as some m3u files were mistaken for ts files. * include/configuration.h: added a CONFIG_ITEM_DIRECTORY config type. * modules/gui/wxwindows/*: the preferences dialog should be fully useable now.
-
- 20 Feb, 2003 1 commit
-
-
sigmunau authored
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)
-
- 06 Jan, 2003 1 commit
-
-
Simon Latapie authored
* added a add_integer_with_range() and add_float_with_range() * gtk interface: now uses a slider when a min or a max is specified
-
- 10 Dec, 2002 2 commits
- 09 Dec, 2002 1 commit
-
-
gbazin authored
* include/configuration.h: rolled back the last changes made to this file. There is no sense in manually initializing all the fields of module_config_t as it will be done by the compiler anyway. Furthermore mingw32 gcc seems to have problems optimizing code that manually initializes structures to 0.
-
- 06 Dec, 2002 1 commit
-
-
Sam Hocevar authored
signed/unsigned comparisons, and removed trailing spaces here and there.
-
- 31 Jul, 2002 2 commits
-
-
Sam Hocevar authored
compilers which don't support constructor expressions. I hate Borland.
-
Sam Hocevar authored
about 2000 lines of code. I could not test everything on every architecture, so please report any module breakage (especially on BeOS, OSX and QNX).
-
- 20 Jul, 2002 1 commit
-
-
Sam Hocevar authored
* ./src/libvlc.c, ./include/vlc/vlc.h: created reentrant versions of the libvlc API. * ./src/vlc.c: vlc uses the non-reentrant libvlc functions. * ./mozilla/vlcplugin.c: the mozilla plugin uses the reentrant functions. * ./debian/*: created packages for libvlc0-dev.
-
- 03 Jul, 2002 1 commit
-
-
Sam Hocevar authored
module names. Try for instance: "vlc --intf gnome,gtk,dummy".
-
- 11 Jun, 2002 1 commit
-
-
gbazin authored
* ./include/configuration.h: renamed MODULE_CONFIG_* macros into CONFIG_*. * ./include/configuration.h, ./plugins/gtk/gtk_preferences.c, ./plugins/filter/transform.c, ./plugins/filter/distort.c, ./plugins/filter/deinterlace.c: added an ADD_STRING_FROM_LIST() configuration macro. * ./include/modules.h, ./include/video_output.h, ./src/video_output/video_output.c, ./plugins/filters/*: added a VOUT_FILTER capability. Having a clear distinction between VOUTs and VOUT_FILTERs allows us to get rid of ugly hacks. The filters are also stackable now (use --filter=foo:bar:foo etc..). * ./include/configuration.h, ./src/libvlc.h, ./src/libvlc.c: clean-up + added an ADD_USAGE_HINT() configuration macro.
-
- 01 Jun, 2002 2 commits
-
-
Sam Hocevar authored
-
Sam Hocevar authored
As for video output 4, this breaks almost everything, but I'll slowly do what remains to be fixed during the weekend. Changes in vlc: =============== * vlc is now a very small program (20 lines) which uses the libvlc API; it is quite simple for the moment but can be extended in the future. * interfaces, decoders, video outputs, etc. are now almost the same objects (yes, I know, this is C++ redone in C) and are structured in a tree. More about this later, but basically it allows the following nice features: - several interfaces - several playlists with several outputs - input plugins spawning helper interfaces (will be used for DVD menus) - anything spawning anything; I swear there are useful uses for this! * libvlc can be used in other programs; I'm currently writing a Mozilla plugin for my employer. Things currently broken: ======================== * most interfaces, most ports * the playlist handling (almost finished rewriting this though). This means no file can be played from the GUI, you need to use the commandline. This also means it segfaults at EOF, when exiting the program, and it sometimes refuses to open a file when asked to.
-
- 30 May, 2002 1 commit
-
-
gbazin authored
* changed ADD_BOOL and ADD_BOOL_WITH_SHORT config macros to accept a default value as an argument. * modified the command line parsing to accept --foo and --no-foo when a "foo" boolean config option is defined. * modified the help menu to indicate if the option is enabled or disabled by default.
-
- 03 May, 2002 1 commit
-
-
Sam Hocevar authored
options callbacks. They don't take any argument for the moment, but this will change when I'm finished with my other vlc changes. There is a little problem: the Gtk+ interface keeps calling Put***Variable each time we click on "Apply" or "Save". I think it should only call it once. Is there a way to fix this? Gildas? lool? :-)
-
- 24 Apr, 2002 1 commit
-
-
Sam Hocevar authored
* ALL: renamed PLUGINS to __PLUGINS__ to avoid conflicts with libraries defining it. Grmbl. * ./src/input/input_ext-plugins.c: cosmetic change.
-
- 23 Apr, 2002 1 commit
-
-
Sam Hocevar authored
* ALL: removed underscores from option names and made a few options more self-explanatory, for instance --input_channel becomes --audio-channel; run vlc -H to see what has changed. * ALL: replaced many occurences of "plugin" with the word "module". * ./src/interface/main.c: moved all satellite-specific configuration options to the satellite plugin. * ./po/*: updated translations.
-
- 21 Apr, 2002 2 commits
-
-
Sam Hocevar authored
* ./src/misc/configuration.c: support for short options. -V, -A, -I are back, and we also have -4 and -6 for IPv4/IPv6.
-
gbazin authored
* added config_GetFloatVariable() and config_PutFloatVariable() to the config module. * added a --zoom <float> config option. * added a call to RestoreCPUState() in InitIDCT() in idct_sparse.h so that the FPU is still available after a call to InitIDCT(). * deactivate stream buffering when logging to a file.
-
- 19 Apr, 2002 1 commit
-
-
Sam Hocevar authored
* ALL: internationalized all configuration strings. * ./src/interface/main.c: we now set LC_CTYPE to get the right charset. * ./src/misc/configuration.c: lots of simplifications in the code. * ./po/vlc/pot: updated translations.
-
- 21 Mar, 2002 1 commit
-
-
gbazin authored
* moved GetConfigurationFromCmdLine() into configuration.c and renamed it into config_LoadCmdLine() * config_GetHomeDir doesn't use getpwuid_r anymore as this was creating some problems on solaris. This function now uses getpwuid and is called only once to store the home directory into the p_main structure.
-
- 16 Mar, 2002 1 commit
-
-
gbazin authored
* This the last piece of the new configuration module. You can now save your configuration options (only from the gtk/gnome interface for now). The config file will be saved as ~/.VideoLan/vlc It's not quite yet finished (well there are a few small details to sort out), but I'm going away for the week-end and I wanted to commit this before so you can all have a play with it :)
-
- 11 Mar, 2002 1 commit
-
-
gbazin authored
* New GTK configuration interface. This interface is generated dynamically at run-time from the configuration data contained in each plugin. * config_PutPszVariable and config_GetPszVariable are now thread safe. * Few modifications/optimizations to the config module. * Got rid of all the _VAR macros in config.h This is the first version of the GTK configuration interface. There are still a few raw corners and a fews things left to do, but it basically does what I wanted. Constructive comments like it sucks or it smells rotten fish are of course very welcome. And if there are GTK gurus out there, please don't hesitate to add your touch. I also started to add usefull comments to the configuration options but I'm not really good at this kind of thing so if people want to help, they can finish the job. For this look at all the *_LONGTEXT macros at the top of main.c (PS: Translations will also be appreciated but not right now as the interface will likely change again in the few coming days)
-
- 24 Feb, 2002 1 commit
-
-
gbazin authored
This is the first part of the new configuration architecture for vlc. Two other parts will follow soon: - config file implementation - gtk configuration interface. This part won't change much for end-users as these changes are mostly internal, you will however notice that the command line interface has changed. It will maybe be less user-friendly as I almost removed the short options but it shouldn't a big problem when the config file is implemented. What as changed is that it is really easy now to add configuration options to vlc. Plugins can also implement configuration options. All you have to do is to declare a MODULE_CONFIG section in your plugin. If you want to know more about this look at configuration.h and for some example: main.c, dsp.c or xvideo.c It would be nice if every developper could now start using configuration options in there plugins and also enhance old plugins. That's it, now let's hope I didn't break too many things ;-)
-