Commit Graph

908 Commits

Author SHA1 Message Date
Sam Hocevar
b8ce47bbc7 * Win2000 DVD input by Jon Lech Johansen <jon-vl@nanocrew.net>. 2001-05-31 03:12:49 +00:00
Sam Hocevar
94d3d4d8be * Applied patch from Jon Lech Johansen <jon-vl@nanocrew.net> to compile
vlc with MS and Intel C/C++ compilers.
2001-05-31 01:37:08 +00:00
Stéphane Borel
b465bcca09 -Updated the gtk/gnome interface to work in network mode,
-Fixed some bugs in interface (language menus in ts, misnamed fields)

-Play/Stop work in network mode to start/stop decoding of the stream

I have a segfault in imdct_3dn(93). But I can't underdand assembly.
2001-05-30 23:02:04 +00:00
Sam Hocevar
73620c7478 * Fixed a bug introduced in my previous commit which broke DVD input. 2001-05-30 22:16:07 +00:00
Sam Hocevar
a3b650021f * Hrmpf. Forgot the most important file. 2001-05-30 17:04:12 +00:00
Sam Hocevar
440f9992ee * Fixed the BeOS compile typo.
* The ALSA plugin is back.
  * A gift for Gildas: plugins don't rely on backlinking any more. The
    drawback is the dirty magic in include/modules_export.h which has to
    be included whenever a module needs one of the functions in it. But
     a) we should less and less rely on those functions
     b) no plugin code modification was needed

   The BeOS and MacOS X modules may be broken when compiled as plugins,
   I'll check this later when I can reboot under BeOS.
2001-05-30 17:03:13 +00:00
Stéphane Borel
1ffe943ec5 -Changes and bugfixes to make network work in VLAN Broadcast mode.
-Bugfix in the interface to access the network specific features.

-Some base of synchro in ac3 spdif
2001-05-30 05:19:03 +00:00
Stéphane Borel
6854d3f1e8 *Fixed a bug with Previous chapter button in gnome 2001-05-29 13:53:16 +00:00
Sam Hocevar
edcfc7d307 * Added a wrapper for readv() on platforms which don't support it. The
network support now compiles under Win32, but still doesn't work, the
    select in plugins/mpeg/input_ts.c never returns any data.

    Is there anything like strace(1) under Win32 to debug this ?
2001-05-28 04:23:52 +00:00
Xavier Marchesini
7f62d904b8 Modified in order to add network input under Win32.
It compiles under Linux and Win32 (yeeaaahaaa, haven't broken anything
:-))
(added the WinSock library initialization and cleanup)
Could someone test if it does really function ?
2001-05-28 03:17:01 +00:00
Sam Hocevar
1da48cfcb0 * Of course my Win32 patch broke the Un*x version. 2001-05-28 02:54:09 +00:00
Sam Hocevar
f9c0292d94 * Forgot a little #ifdef, sorry. 2001-05-28 02:44:39 +00:00
Sam Hocevar
506c5ec773 * Win32 compilation fixes, esp. the MAC retrieval. 2001-05-28 02:38:48 +00:00
Sam Hocevar
5b5ae2eb92 * Fixed my latest BeOS support breakage. 2001-05-27 15:16:58 +00:00
Sam Hocevar
409f93dd9f * Fixed a warning for *BSD compilation.
* Fixed a typo in yesterday's Darwin ioctl fixes.
  * Patch by Eugenio so that the OS X interface and video output handle the
    aout and vout banks.
2001-05-25 13:20:10 +00:00
Sam Hocevar
7de920d351 * Forgot a file for BeOS. 2001-05-25 04:44:49 +00:00
Sam Hocevar
10b03bcbd7 OS X fixes:
* Applied Eugenio's fix to the DVDioctl driver. I didn't test it, but
    it should not hang the kernel anymore.

  * Ported most dvd_ioctl.c functions to the DVDioctl driver: ReportAgid,
    ReportChallenge, ReportKey1, ReportASF, InvalidateAgid, SendChallenge,
    SendKey2. They should comply with the "Mt. Fuji Commands for Multimedia
    Devices" paper.

    Last remaining problem: ReadCopyright and ReadKey. The version of
 Darwin I have here only has reportKey() and sendKey() functions in
 the IODVDBlockStorageDevice class (pages 413 and 449 of the Mt. Fuji
 paper), but we also need the READ_STRUCTURE (page 357) which I couldn't
 find anywhere in the kernel headers. Either I missed it, or we'll have
 to wait for Apple to implement it (or maybe we can emulate this command
 with some other IOKit commands).
2001-05-25 04:23:37 +00:00
Stéphane Borel
32335766f3 -Forgot a bug for audio/spu change in the interface 2001-05-24 01:24:47 +00:00
Stéphane Borel
5e250b35b8 -A little bug with lpcm in Makefile 2001-05-23 23:40:32 +00:00
Stéphane Borel
fa5ba0bb09 -Unification of gnome/gtk intefaces: now all the file are in plugin/gtk.
Specific files are glade generated files and intf_* files. All the
remainders are common to gtk and gnome and contain all the callbacks for
both interfaces.
2001-05-23 23:08:20 +00:00
Stéphane Borel
5ae87b7eef -LPCM audio selection in ps mode, in prevision of henri's decoder. 2001-05-23 17:47:34 +00:00
Tony Castley
31e42cb1b1 Updated with new changes for playlist management 2001-05-21 12:44:23 +00:00
Stéphane Borel
ab1d602499 *More cleanification in gtk interface: now to change the
title/chapter/audio/spu/angle, we tell the input to do intead of doing
it inside the interface. It results in fewer locks during the changes.

*The dvd plugin reads again blocks of 32 sectors to gain speed since
there are no more lock-ups during stream change. I've also created a new
file that contain function to described video and audio streams with ifo
datas.

The changes are made only for gtk. We should update the other interfaces
soon (beos at least).

There is a memory corruption somewhere that make the vlc crash. I've no
idea where to search.
2001-05-19 00:39:30 +00:00
Xavier Marchesini
62b322c283 *** empty log message *** 2001-05-18 09:49:16 +00:00
Renaud Dartus
5f232025ef * Add 3D Now! imdct
* Remove kmudge for ac3 on MacOS X
2001-05-16 14:51:29 +00:00
Sam Hocevar
1ac785a293 * We now do pthread detection for FreeBSD like the XMMS guys do. It
works even better.
2001-05-16 02:12:38 +00:00
Sam Hocevar
23a4ece167 * FreeBSD pthread fixes. 2001-05-15 19:36:27 +00:00
Sam Hocevar
501cb1ba4b * AC3 IMDCT and downmix functions are now in plugins, --imdct and
--downmix options added.
2001-05-15 16:19:42 +00:00
Stéphane Borel
32ef13cfda *Bugfixes, cleanings in gtk. 2001-05-15 14:49:48 +00:00
Stéphane Borel
9530fc9f8c *initialization bugfixes in input_dvd
*added a b_stopped flag to interface playlist to have a stop function in
interface plugins. As a consequence, the playlist no longer loops on end
but wait for the user to press 'play' or to add another item (gtk/gnome
interface). I think that other plugins are broken but it shouldn't be
difficult to repair: just add a 'p_main->p_playlist->b_stopped = 0' in
play functions and 'p_main->p_playlist->b_stopped = 1' when you have to
stop.

*Updated gtk interface so that it has the same features as gnome. I
think I will merge the code so that we don't have to copy and paste each
change. Only the .glade file would be different.
2001-05-15 01:01:44 +00:00
Renaud Dartus
db7b0421d5 * Begin of SSE/3DNow! support for imdct and downmix
If you have a PIII or a Athlon and you want to try this, just comment #if 0
in ac3_downmix.c and ac3_imdct.c and add in AC3_DECODER section of Makefile :
	src/ac3_decoder/ac3_imdct_sse.o \
	src/ac3_decoder/ac3_srfft_sse.o \
	src/ac3_decoder/ac3_downmix_sse.o \
	src/ac3_decoder/ac3_downmix_3dn.o \
2001-05-14 15:58:04 +00:00
Henri Fallon
c1df815923 Put a little note in the doc about "dvd devices" 2001-05-12 00:14:20 +00:00
Sam Hocevar
4d9ab11dbb * Fixed a deadlock in spudec. 2001-05-11 15:10:01 +00:00
Henri Fallon
b1f3c7d62c Alsa module now builds with alsa 0.9 thanks to Jeffrey Baker's patch
(jwbaker@acm.org)

Please notice that even if if builds with alsa 0.9beta, it's hardly
usable as it goes very often un Xrun mode. Though, it works fine with
current alsa CVS.
2001-05-11 01:03:14 +00:00
Sam Hocevar
3a52d41f9d * Added SPU cropping.
* Gnome interface segfault fix.
  * BeOS interface segfault fix by AnEvilYak (what's you real name btw?).

  Note: if you want to have a look at the currently buggy YUV subpictures,
        uncomment line 1999 of src/video_output/video_output.c. Don't report
        bugs about this, I _know_ it's a quick hack.
2001-05-10 06:47:31 +00:00
Sam Hocevar
5d5fd803fe * Fixed an aspect ratio issue in the SPU decoder, and optimized the
SPU renderer.
2001-05-08 20:38:25 +00:00
Arnaud de Bossoreille de Ribou
03f0895b98 end of the last commit :-P 2001-05-08 14:53:31 +00:00
Arnaud de Bossoreille de Ribou
e3e7a507b0 - fix a discontinuity bug in input_ClockManageRef() 2001-05-08 14:38:30 +00:00
Arnaud de Bossoreille de Ribou
6bdefd9897 - fix a bug in ts input.
Henri: a 0.5s timeout is not (time_t)0.5 sec and (time_t)0 usec
    but (time_t)0 sec and (time_t)500000 usec
    Now the input doesn't eat all the cpu any more :p
2001-05-08 12:53:30 +00:00
Sam Hocevar
abe5a7d0c0 * Speed optimization in the handling of the unusual ephemer DVD subtitles.
* Little optimization to bozo's UnalignedShowBits fix.
  * Race fix in the packet cache by Jon Lech Johansen <jon-vl@nanocrew.net>.
2001-05-08 00:43:57 +00:00
Arnaud de Bossoreille de Ribou
37ee07f3f9 - fix a bug in UnalignedShowBits that makes some _heavy_ unaligned streams
not wotk correctly (for instance VLS' generated TS streams)
2001-05-07 13:52:39 +00:00
Sam Hocevar
84a86ed750 * Added support for some terribly braindead DVD subtitles in Kenshin
which do not have a "stop display" command. Anime fans rejoice!
  * Fixed the BeOS interface to use p_aout_bank instead of p_main->p_aout.
  * Coding-style butchery (mostly tabs).
2001-05-07 04:42:42 +00:00
Henri Fallon
58ab8de523 Added detection for ".ts" extension. 2001-05-07 04:35:21 +00:00
Stéphane Borel
ca90f850b7 *Changed the level arg in intf_WarnMsg so that it is more logical: the
level corresponds now to the nb of -v to display the message.

*added functionnal preference window in gnome: it changes the
envirronment variables

*added jump window in gnome to jump to a precise time.
2001-05-07 03:14:10 +00:00
Stéphane Borel
fd1da66ff5 * Gnome playlist should work better with the files to create it :) 2001-05-06 18:41:52 +00:00
Stéphane Borel
bc118e1974 *Much work on the gnome interface: added oct's playlist from gtk plugin,
tuned appearence, added preferences window (with no features yet), jump
window to go to specified time (not functionnal yet), and fixed some
bugs.

*moved b_fullscreen from p_vout->p_sys to p_vout and unified way of
toggling fullscreen in sdl in x11/xvideo output (using p_vout->i_ch
nges) so that an interface plugin can toogle fullscreen (implemented
in gnome)

*added p_input->stream.p_selected_area->i_tell in input TS so that the
slider work with ts files ( however, the time counter doesn't since we
have no mux_rate )

*improved ac3 spdif output ( and made it work again :)). It uses a true
blank frame now, and it allows to switch languages like a traditionnal
output. It doesn't support multiplexing though, neither can we switch
between spdif/analogical mode on-the-fly.

*beginning of the back port of gnome to gtk for those who do not have
gnome.
2001-05-06 18:32:30 +00:00
Sam Hocevar
c8c99b214e * Fixed a few warnings with gcc 3.0.
* aout and vout are now allocated in banks, making it possible to have
    several of them at the same time.
  * configure now checks for MMX and MMX EXT support in the assembler.
  * Removed all MMX code from the main program and moved it to the
    existing idct modules (Closes: Debian bug #96036).

    Don't forget to make distclean before building vlc again.
2001-05-06 04:32:03 +00:00
Andres Krapf
92df268e01 initial import - still buggy, crashes on exit, etc.
the playlist and the popup are unimplemented.
2001-05-05 13:36:27 +00:00
Sam Hocevar
d072e40d68 * FreeBSD CSS decryption support. 2001-05-02 20:01:44 +00:00
Henri Fallon
5e0ca6827a * Corrected vlc-howto thanks to Arnaud Gomes-do-Vale
* Fixed a segfault in TS input. Some stream still do not work, or
  work very slowly with many error messages. I'll try to have a look.
2001-05-02 13:30:30 +00:00