Commit Graph

84 Commits

Author SHA1 Message Date
Simon Latapie
d86fd15629 * mozilla plugin on MacOSX. Not fully implemented yet.
* compiled with mozilla 1.4 (won't probably work with <1.4)
 * TODO:
 *     - make XPCOM work (play,pause,stop buttons)
 *     - fullscreen implementation (quite difficult on MacOSX because only
 *       the main thread can create windows)
2003-08-14 12:38:04 +00:00
Sam Hocevar
8ddf2757b7 * Added and fixed .cvsignore files. 2003-07-31 12:08:58 +00:00
Gildas Bazin
eb505a2f6d * 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().
2003-07-23 01:13:48 +00:00
Sam Hocevar
8c7b5a88af * mozilla/Makefile.am: Fixed stamp-pic generation, it was created in the
current directory but looked for in the parent directory.
2003-07-17 13:09:46 +00:00
Sam Hocevar
8bbbcc31b7 * mozilla/Makefile.am: Moved mozilla plugin generation directives here.
* configure.ac: Propagate $(top_srcdir) to the vlc-config call.
2003-07-17 12:06:10 +00:00
Sigmund Augdal Helberg
e30fd2a9af mozilla/vlcplugin.h: added the video/x-ms-wmv mime type
mozilla/npvlc_rc.rc: added all the missing types from vlcplugin.h
2003-07-17 09:25:58 +00:00
Sam Hocevar
898d537760 * mozilla/*: Additional Mozilla 1.4 compilation fixes. 2003-07-16 16:33:59 +00:00
Sam Hocevar
558b51e092 * mozilla/vlcshell.cpp: free() requires <stdlib.h>. 2003-07-09 13:52:22 +00:00
Sam Hocevar
5a0b0cf024 * mozilla/: Tried to fix the build with mozilla 1.4. Tested on Debian. 2003-07-07 12:04:50 +00:00
Sam Hocevar
beb809532c * ./mozilla/npvlc_rc.rc: fixed a typo in the MIME types. 2003-04-20 21:14:20 +00:00
Sam Hocevar
d9ca68f7ab * ./Makefile.am: we call pbxbuilder with the explicit target name, because
we might have an additional target one day, such as vlcplugin :)
  * ./mozilla/vlc.r: OS X specific resource file for an OS X plugin.
  * ./mozilla/vlcshell.cpp: added required OS X functions.
2003-04-09 17:27:51 +00:00
Sam Hocevar
62ef155640 * ./mozilla/*: moved support files in a separate directory.
* ./mozilla/support/npmac.cpp: added a hacked version of Mozilla's npmac.cpp
    that builds with g++ instead of CodeWarrior.
2003-04-09 16:18:36 +00:00
Sam Hocevar
d5fe6ade47 * ./mozilla/*: s/VideoLAN Client/VLC/g. 2003-02-18 13:13:12 +00:00
Sam Hocevar
b6b1bef8bf * ./mozilla/vlcshell.cpp: fixed the Mozilla plugin's target drawable.
* ./modules/video_output/directx/directx.c, ./modules/video_output/x11/x11.c,
    ./modules/video_output/x11/xvideo.c: removed the drawable configuration
    variables which are now deprecated.
2003-02-01 18:54:10 +00:00
Sam Hocevar
a793be381c * ALL: fixes for various compilation warnings and spelling errors. 2003-01-28 16:57:28 +00:00
Sigmund Augdal Helberg
a98b6d88f5 made the vlc mozilla plugin a drop-in replacement for wmp in most embedded
wmp sites I could find, by adding som mimetypes and parsing some more
parameters passed by mozilla. Also disabled the StreamAsFile function since
mozilla tend to pass it non-exsisting files.
2002-11-28 23:53:03 +00:00
Sam Hocevar
141414b0c4 * ./Makefile.am: we properly install plugins in the OS X vlc.app directory.
* ./mozilla/npvlc_rc.rc, ./mozilla/vlcplugin.h: added the Ogg mime type to
    the Mozilla plugin properties.
  * ./debian/control: added libogg-dev and libvorbis-dev dependicies to the
    Debian build script.
2002-11-04 15:04:45 +00:00
Sam Hocevar
c01dd5d375 * ./modules/video_output/directx/events.c: start the colorkey search at 10,
not 5, to avoid using a color used by another application.
  * ./modules/video_output/directx/events.c: support for drawing in a parent
    window instead of creating our own; still a bit flakey.

  * ./mozilla/vlcshell.cpp: we can now compile the Mozilla plugin so that it
    does not call libvlc (for testing purposes).
2002-10-25 18:17:59 +00:00
Sam Hocevar
435bab6bc1 * ./mozilla/vlcshell.cpp: ported the Mozilla plugin to Windows.
For the moment it spawns a separate window and seems to behave nastily
    (read: crashes) when the target has sound, but the javascript interface
    works perfectly, for instance.

    To build it, I installed Mozilla development files in my mingw32 dir
    and hacked mozilla-config so that it uses these files. I also hacked
    jri_md.h and jni_md.h to put "defined(_MSC_VER) || defined(__MINGW32__)"
    where it read "defined(_MSC_VER)". No other changes were necessary.
2002-10-22 21:10:28 +00:00
Sam Hocevar
464bd2e5b4 Changes to the libvlc API:
* ./include/vlc/vlc.h: changed the naming conventions for libvlc. Now
    exported functions start with VLC_ instead of vlc_ to avoid conflicts.
  * ./include/vlc/vlc.h: removed the vlc_object_t, vlc_list_t, vlc_error_t
    and vlc_t types; they are now internal types only.
  * ./include/vlc/vlc.h: merged the reentrant and non-reentrant libvlc
    calls. In non-reentrant mode, we just use 0 as the first argument. In
    reentrant mode, we use an object's ID. (see below)

Internal changes:
  * ./src/libvlc.c, ./src/misc/objects.c: instead of manipulating vlc_object_t
    pointers, we manipulate their i_object_id. When needed, an object is
    retrieved using vlc_object_get (I hope the lookup isn't too expensive,
    that's why I designed the pp_objects layout to allow log2(n) seeks).
  * ./src/misc/objects.c: activated the per-object variable storage. Unused
    yet, unless you want to try "getfoo" and "setfoo blablah" in vlc -I rc.
  * ./include/vlc_objects.h: moved the vlc_object_t and vlc_list_t definitions
    here.

Misc:
  * ./src/vlc.c, ./mozilla/vlcshell.cpp: removed inclusion of config.h in
    code portions not part of libvlc; it was just required for the
    COPYRIGHT_MESSAGE string which is now available from VLC_Version().
2002-10-11 22:32:56 +00:00
Sam Hocevar
f501554a39 * ./configure.ac.in: duplicated arguments to AM_INIT_AUTOMAKE to fix
locales breakage.
  * ./src/libvlc.c: libvlc understands the VLC_VERBOSE environment variable,
    to be set between 0 and 4. Default value is 0 for a program using libvlc,
    but vlc sets it to 1 by default.
  * ./src/misc/configuration.c: -v now works the old way (-v, -vv, -vvv) as
    well as the new way (-v0, -v1, -v4). -v1 is the same as -v, and -v0 is
    the same as -q (quiet). Hope it's all understandable.
2002-10-03 18:56:10 +00:00
Sam Hocevar
7cca8d8fa0 * ./debian/rules: moved the gtk_main and gnome_main plugins to the gvlc
and gnome-vlc packages.
  * ALL: updated .cvsignore files to properly ignore automake files.
2002-09-30 15:46:47 +00:00
Sam Hocevar
2799d36bc8 * ALL: the build mechanism now uses automake. See HACKING for more details.
* ./mozilla/vlcplugin.cpp: javascript support for the Mozilla plugin.
  * debian/rules: the A52 module is now in a separate package.
2002-09-30 11:05:42 +00:00
Sam Hocevar
5555c82c83 * ./mozilla/*: added hooks so that the vlc plugin is scriptable from
javascript. It's also in C++, but we didn't have the choice.
2002-09-17 08:18:24 +00:00
Sam Hocevar
6038883a6d * ALL: fixed a few include directories. 2002-08-26 08:36:12 +00:00
Sam Hocevar
f0ec49dae5 * ./modules/misc/gtk_main.c: created the gtk_main module, which simply runs
gtk_main() in its own thread, and does nothing on subsequent calls. This
    ensures that gtk_main is only running once.
  * ./modules/gui/familiar/*, modules/gui/gtk/*: the familiar, gtk and gnome
    modules are now fully reentrant thanks to their use of the gtk_main module.
  * ./src/libvlc.c: implemented vlc_set(), a wrapper for config_Put* available
    to external programs.
  * ./src/libvlc.c: removed vlc_stop() and vlc_end(), everything is now done
    by vlc_destroy().
  * ./modules/control/rc/rc.c: implemented a few new functions. For instance,
    run "vlc -I rc" and then type "intf gtk" or "intf gnome". You can even
    launch several of them. "segfault" works, too.
2002-08-20 18:08:51 +00:00
Sam Hocevar
05e3077cc5 * ./include/modules_inner.h: support for several modules with the same
name but with different directory names.
  * ./Makefile: plugins get installed in different directory names.
  * ALL: additional -ansi -pedantic fixes.
2002-08-08 22:28:23 +00:00
Sam Hocevar
50b8a062ab * ./Makefile, ./mozilla/Makefile: make uninstall removes vlc-specific dirs.
* ./src/misc/modules.c: the directory browsing should be more portable now,
    we use stat(2) instead of file->d_type.
2002-08-06 00:26:48 +00:00
Sam Hocevar
981dcc18ab * ./configure.in, ./mozilla/Makefile: we link the Mozilla plugin with libXt. 2002-08-04 08:45:35 +00:00
Sam Hocevar
33889bca06 * ./mozilla/Makefile: fixed dependencies on .h files.
* ./plugins/filter/distort.c: fixed a typo in option names.
2002-07-23 20:16:36 +00:00
Sam Hocevar
255db0098c * ./configure.in: workaround Debian bug #150490 (bad mozilla-config output).
* ./mozilla/vlcplugin.h: added .mov and .mp4 files to the plugin.
  * ./Makefile: we no longer try to merge .a files into libvlc.a, but rather
    add them to the vlc-config output.
2002-07-23 20:12:55 +00:00
Sam Hocevar
bf9b62a4ea * ALL: changed "struct foo_s" into "struct foo_t" to make greppers happy.
* ./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.
2002-07-20 18:01:43 +00:00
Sam Hocevar
1f95f0338d * ./po/*: polish translation, courtesy of Arkadiusz Lipiec. 2002-07-12 17:08:52 +00:00
Sam Hocevar
4565dc6ee0 * ./mozilla/*: preliminary Mozilla plugin. Only works under Unix for now.
* ./debian/rules: activated the vlc-xosd, vlc-kde and mozilla-plugin-vlc
    Debian packages.
  * ./po/*: updated potfiles.
2002-07-04 18:11:57 +00:00