1
mirror of https://code.videolan.org/videolan/vlc synced 2024-07-25 09:41:30 +02:00
Commit Graph

1427 Commits

Author SHA1 Message Date
Sam Hocevar
a701094db5 * ./plugins/dsp/aout_dsp.c: OpenBSD compilation fix.
* ./src/video_output/video_output.c: fixed a segfault on exit.
2002-02-27 18:19:21 +00:00
Sam Hocevar
7f76c7c5ba * ./src/input/input.c: BeOS network support (no idea if it works when you
don't have BONE, though).
2002-02-27 04:49:55 +00:00
Sam Hocevar
07a8286a1a * ./include/common.h: BeOS compile fixes.
* ./plugins/beos/vout_beos.cpp: fixed BeOS video output.
2002-02-27 03:47:56 +00:00
Gildas Bazin
813e5145db * Fixed uninitialized variable in config_Duplicate()
* Fixed problem introduced in latest gtk commit
2002-02-26 22:08:57 +00:00
Gildas Bazin
b69353c58d * forgot to add the declaration of server_port in main.c
* char pointers obtained by config_GetPszVariable need to be freed
2002-02-26 18:25:40 +00:00
Xavier Marchesini
638dac1c79 Multicast now works under Win32, but this is a _bad_ kludge.
It still segfaults 4 secondes after the first frame, but, at least, I
can see two or three frames from MI2 :-)
2002-02-26 17:22:12 +00:00
Stéphane Borel
426ddf370e *Reversed my previous configuration change.
I'd better used dvd_title or so but INPUT_TITLE_VAR is also used in
gtk_open.c and I can't find a neat way to prevent this, so I leave this
option in main.c.
2002-02-26 01:17:13 +00:00
Sam Hocevar
2935b3208e * ./include/threads.h: support for the State Threads Library, a userland
threads library (http://state-threads.sourceforge.net/). Useless to most
    people, but can be handy to debug stuff. Activate with `--enable-st'.
2002-02-25 23:59:07 +00:00
Stéphane Borel
83bd9d3613 *Adaptation to new configuration scheme for dvd, dvdread and spdif 2002-02-25 18:42:09 +00:00
Sam Hocevar
b9f798bfa4 * ./plugins/lirc/lirc.c: removed CVS garbage. 2002-02-25 11:25:22 +00:00
Sam Hocevar
1c467b80a5 * ./plugins/gtk/gtk_menu.c: fixed a compile issue on IA64.
* ./plugins/fx/scope.c: new toy plugin, an audio scope module.

    Each time I fix a bug in vlc I feel urge to code something useless. This
    one is very, very rough for the moment, probably buggy, slow, will crash
    your blender and reboot your fridge. Screenshot can be found here:
      http://www.zoy.org/~sam/vlc/vlc-scope.jpeg
    Activate with `--aout scope' (yes, it currently disables the real
    audio output... I'll fix this as well).
2002-02-25 04:30:03 +00:00
Sam Hocevar
f5c814d6c1 * Replacement header for aout_common.h. 2002-02-24 22:12:45 +00:00
Sam Hocevar
e634a30c01 * Forgot one fix in my previous commit. As usual. 2002-02-24 22:12:10 +00:00
Sam Hocevar
d4243d5979 * Fixed a quite old bug in the audio output which made the sound stutter
when wrapping around the audio output fifo.
  * Lots of simplifications in the audio output, got rid of b_stereo.
2002-02-24 22:06:50 +00:00
Johan Bilien
0b16341623 Added a menu in the GTK and gnome interfaces to change the current program
in multi-program streams (such as ones provided by a DVB-S card).
2002-02-24 21:36:20 +00:00
Gildas Bazin
c40571df60 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 ;-)
2002-02-24 20:51:10 +00:00
Gildas Bazin
d9d659fc3e * fixed array over-run bug in intf_MsgUnsub 2002-02-23 21:31:44 +00:00
Gildas Bazin
1aca1d70c1 * Don't try to grok altivec with mingw32.
* --with-directx-path should now indicate the path where the actual
headers are (before the headers had to be in an include subdir). By the
way you can download these header files from the videolan web site.
2002-02-22 20:46:58 +00:00
Sam Hocevar
cf3d0f29d2 * ./src/misc/modules_plugin.h: if symbol foo isn't found in the
plugin, we always try to open _foo, whatever the architecture.
2002-02-21 23:56:08 +00:00
Sam Hocevar
14cafe31d2 * ./plugins/lirc/lirc.c: non-blocking patch from Sigmund Augdal
<sigmunau@stud.ntnu.no>; hope this time my enhancements don't break
    everything :-)
2002-02-21 21:55:40 +00:00
Sam Hocevar
cba6a24eca * ./configure.in: gtk*-config detection fix for FreeBSD. 2002-02-21 00:54:00 +00:00
Sam Hocevar
8cc8d9579d * ./configure.in: removed a bashism.
* ./plugins/x11/xcommon.c: support for systems without shm.h.
  * QNX compilation fixes here and there; the qnx plugin still doesn't work.
2002-02-20 23:23:53 +00:00
Sam Hocevar
38ed5ffcae * ./Makefile: the win32 port now uses a more recent version of gtk+. 2002-02-20 19:01:13 +00:00
Sam Hocevar
a53ff165ce * ./plugins/gtk/gtk.c: the log window is now black with colourful text.
* ./plugins/gtk/gnome.c: ported the log window to the GNOME interface.
  * ./src/interface/intf_msg.c: messages are sent to the queue even if
    -vvvv* wasn't specified.
2002-02-20 05:56:18 +00:00
Jon Lech Johansen
9400b572ec * MacOS X VCD support. 2002-02-20 05:50:00 +00:00
Sam Hocevar
ff619dd606 * ./plugins/lirc/lirc.c: fixed my mistakes from yesterday. 2002-02-20 01:47:01 +00:00
Sam Hocevar
232fd7bb9e * ./plugins/lirc/lirc.: various fixes, thanks to Sigmund Augdal.
* ./plugins/text/logger.c: rewrote an ugly loop.
  * ./plugins/gtk/gtk.c: added a Gtk+ window containing all the log
    messages; updated in real time. To open it, go to "view"->"messages".
2002-02-19 03:54:56 +00:00
Sam Hocevar
730cc399c5 * Got rid of TRACE and intf_DbgMsg which were seldom used anyway.
* All intf_*Msg functions now write to stderr.
   * Implemented a message queue interface plugins can subscribe to.
   * Wrote the logger interface plugin. Usage:
      vlc -I logger:filename.log
   * Lots of fixes in the SPU renderer.
2002-02-19 00:50:20 +00:00
Stéphane Borel
d3fd4cf14f Fixed a typo in aspect ratio calculation 2002-02-18 19:02:41 +00:00
Jon Lech Johansen
89be0ac8de * MacOS X vout improvements
* MacOS X intf now returns, allowing vlc to terminate properly
  * Added a new make target: package-macosx
2002-02-18 01:34:44 +00:00
Gildas Bazin
de32203be8 * Win32 compilation fixes (mingw includes dirent)
* configure now checks for ddraw.h and not directx.h
* vout_directx doesn't include directx.h anymore (this file isn't part of
    the directx sdk)
* moved all the stuff from aout_waveout.c directly into waveout.c (I don't
    know what I was thinking about when I created these two files ;-)
* until we fix the audio buffer underrun problem, waveout will be the
    default audio output on win32 (instead of directx).
2002-02-15 20:02:21 +00:00
Sam Hocevar
48cbd8f360 * ALL: got rid of *_Probe functions because most of them were duplicates
of the real _Init or _Create functions. That's 1000 lines of code gained.
  * ./src/misc/modules.c: we try not to keep the global lock in module_Need,
    which should speed up output spawning.
  * ./plugins/dummy/input_dummy.c: fixed vlc:quit command.
  * ./plugins/gtk/gtk_playlist.c: compilation fix.
  * ./plugins/macosx/*: preliminary fixes for the vout4 port.

   Notes on the *_Probe eradication:
  o I probably broke the DirectX video output, because of the "must init and
    run in the same thread" issue. I'll fix this ASAP.
  o Subtitles are broken (or at least, pretty ugly) in RGB mode.
  o The input plugins still have *_Probe functions. This will disappear when
    meuuh is finished with the access plugins.
  o The decoder plugins still have *_Probe functions. This is probably not
    going to change, it looks OK to me.
2002-02-15 13:32:54 +00:00
Sam Hocevar
46a1caf287 * Grmbl. Forgot to commit those Win32 fixes last time, and they were
stuck on VTHR. Sorry xav, this probably explains why I couldn't
    find the commit log :-)
2002-02-14 23:29:17 +00:00
Sam Hocevar
e8bf7fa427 * ./plugins/beos/*: BeOS fixes from Rudolf Cornelissen.
* ./src/interface/main.c: --desync now really accepts a value in ms.
  * ./plugins/vcd/input_vcd.c: fixed a crash when not opening a VCD.
  * ./src/video_output/vout_subpictures.c: fixed subtitles under BeOS and
    other architectures which don't support overlay.
2002-02-13 22:10:40 +00:00
Gildas Bazin
a3ffd5882a * compilation fix (include stdint.h)
* fixed a SEGV
2002-02-13 21:54:44 +00:00
Sam Hocevar
3f421de703 * ./plugins/beos/vout_beos.cpp: ported the BeOS RGB video output to
vout4. The overlay video output still needs to be written though.
2002-02-08 15:57:29 +00:00
Gildas Bazin
622b440047 * Just renamed the liba52_adec plugin into a52 to comply with the naming
convention used by the other plugins.
2002-02-06 20:44:23 +00:00
Sam Hocevar
f5c0a050bd * ./plugins/lirc/lirc.c: IR remote control plugin by Sigmund Augdal
<sigmunau@stud.ntnu.no>, activate with --enable-lirc.
  * ./configure.in: put liba52_adec in a builtin for PIC/non-PIC reasons.
2002-02-06 02:37:18 +00:00
Gildas Bazin
5e7b466d87 * New AC3 decoder plugin using liba52 from Aaron Holtzman and
Michel Lespinasse.
    This plugin isn't used by default, you have to specify:
    --ac3_adec liba52
2002-02-05 21:46:41 +00:00
Sam Hocevar
6aeeca6d61 * ./src/misc/modules.c: changed module_Need to make it possible to
have several modules with the same shortcut name.
2002-02-04 09:58:59 +00:00
Christophe Massiot
11a8a96f40 Fixed a bug in the network dialog. 2002-01-31 23:18:27 +00:00
Sam Hocevar
d3154bfbfe * Fixed stuff in the wall filter. Extended syntax:
--filter wall         % open a wall (3x3 is the default value)
     --filter wall:2       % open a 2x2 wall
     --filter wall:3x2     % open a 3x2 wall
     --filter wall:2x1:0   % open a 2x1 wall, only display block 0
     --filter wall:2:0,3   % open a 2x2 wall, only display blocks 0 and 3
    For instance, if you have 2 computers listening to a network stream, on
    the left computer you use --filter wall:2x1:0 and on the right computer
    you use --filter wall:2x1:1
2002-01-30 00:09:49 +00:00
Gildas Bazin
ee87a69135 * Added mstrtime() to module_symbols_t so we can compile the mpeg_vdec
plugin with TRACE mode enabled.
2002-01-29 20:11:18 +00:00
Stéphane Borel
60754f11be -Fixed ac3_spdif which has been broken recently,
-Check frequency in ac3_adec and change fifo if needed,

-Moved initialisation of p_aout from plugins to audio_output.c
If audio output rate is psecified at launch time, we try to use it by default.

Note that audio output currently suffers from frequent underruns.
This has not been fixed here.
2002-01-28 23:08:31 +00:00
Stéphane Borel
bdeea76418 .Fixed a segfault a dvdread exit (my fault). 2002-01-28 21:31:58 +00:00
Sam Hocevar
c36cfc3897 * ./plugins/chroma/i420_rgb16.c: MMX YUV to RGB transformation for 15bpp. 2002-01-28 16:51:22 +00:00
Gildas Bazin
f9d9f469ef * Added double-buffering for the directx plugin in overlay mode.
* Several directx bug-fixes:
    - implemented the right behaviour on exit.
    - fixed bug preventing the creation of several windows.
        (the wall filter is working now :-))
    - fixed unnecessary background redraws (it made the video flicker).
    - fixed bug where we were losing the video display because of lost
        surfaces in video memory.
    - when using hardware overlay, the output window will now specify:
        "(using hardware overlay)".
2002-01-27 22:14:52 +00:00
Tony Castley
83098c803b Fixed compliation error due to inclusion of threads.h 2002-01-26 01:18:27 +00:00
Sam Hocevar
ed4fe96493 * ./plugins/x11/xcommon.c: we don't use DPMS functions if they are
not available.
2002-01-25 17:18:37 +00:00
Gildas Bazin
595d768452 * Added a new very simple audio plugin for Win32. This plugin uses the
waveOut API which is a lot easier to use for streaming stuff than
    directsound. (you don't have to take care of underflows anymore
    because it doesn't use circular buffers).
    If you are having a lot of underflows, this plugin is currently
    better adapted than the directx plugin.

* Moved some initialization stuff in audio_out.c so we can now the
    caracteristics of the audio stream before calling aout_Open().
2002-01-25 06:43:34 +00:00