Commit Graph

170 Commits

Author SHA1 Message Date
Christophe Massiot e160ea9766 * libdvdcss port to OpenBSD. 2001-11-02 13:30:38 +00:00
Christophe Massiot 85762c9e48 New interface for MacOS X, courtesy of Florian G. Pflug. 2001-10-30 10:48:14 +00:00
Sam Hocevar aac41b8032 * Synced dummy_dvdcss with Stef's changes to libdvdcss.
* configure now compiles the VCD plugin if linux/cdrom.h is present.
2001-10-23 23:41:00 +00:00
Johan Bilien a276a98ae4 Added VCD input plugin for Linux :
The Linux specific stuff is located in linux_cdrom_tools files.
For the time being, it only has title (tracks). Chapters will come if I
ever can read .vcd files.
I've modified Gnome and GTK+, not the others.
I've noticed a big bug, it segfaults at the end of a title. I will
have a look on this tomorrow.
Please be indulgent, it's my first peace of code ;-)
2001-10-23 03:06:50 +00:00
Christophe Massiot 66cf4426bf Fixed ATTR_ALIGN configure test. 2001-10-22 15:17:19 +00:00
Sam Hocevar 8629b876dc * Fixed NetBSD (and probably OpenBSD) libdvdcss compilation. 2001-10-22 14:07:36 +00:00
Sam Hocevar 34487b0b6c * xvideo.so is now built in by default. Mixing PIC and non-PIC code was not
very nice.
  * Fixed compilation errors in src/interface/main.c when the compiler did
  not support SSE or 3DNow! inline assembly.
2001-10-22 12:02:17 +00:00
Stéphane Borel 88a154951c New features for libdvdcss: we have three ways now to decode a title key.
1) Crack the title key (the method that was here before). The only change
here is that we search the key for the exact chapter we are seeking with
DVDSetArea (in case the key has changed within a title). It is maybe not a
good idea.

2) Crack the disc key, which allows us to decode instantly all title keys.
I've used an algorithm from Frank Stevenson ; it eats much memory (64MB),
and takes about 15 s at launch time.

3) Decode the disc key with player keys (libcss method). However, you need
licensed player keys at build time for that to work.

To choose between libdvdcss methods, a command line options is supplied:

        vlc --dvdcss <method> where method is one of title, disc, key.

Note that all these changes only work with linux now, since we have to add a
specific ioctl to read title key. I hope that I haven't broken too many things.
2001-10-13 15:34:21 +00:00
Christophe Massiot bfd9535ddd * Fixed bugs in RPM spec files ;
* Fixed a bug in configure where ix86 machines were improperly detected.
2001-10-11 11:28:42 +00:00
Sam Hocevar ff9c8878c5 * 0.2.90 release.
* Updated ChangeLog files.
  * XVideo module now compiled as built-in for Debian packages, to avoid
    PIC and non-PIC code collision (Closes Debian bug #111790).
2001-10-10 14:25:15 +00:00
Christophe Massiot 28c71156ee MacOS X port : native QuickTime video output, courtesy of Florian G.
Pflug <fgp@phlo.org>. Use it with -I macosx_qt.
2001-10-08 16:20:25 +00:00
Christophe Massiot f5da07b64a Fixed bugs in the altivec detection, courtesy of Michel Lanners <mlan@cpu.lu>. 2001-10-08 09:21:57 +00:00
Sam Hocevar 19868f141c * Added an endianness check for cross-compilations.
* We now check for sys/times.h.
2001-10-03 13:14:05 +00:00
Christophe Massiot 36ac7f925a * Minor ShowBits() optimization ;
* Fixed a bug in vlc.spec ;
* New --disable-plugins option ; make all plug-ins built-in.
2001-10-03 12:46:17 +00:00
Xavier Marchesini 03c8e07936 Modified configure.in to allow cross-compiling with Mingw32.
Quick and ugly, i'm gonna find a better way to do it.
2001-10-03 02:53:49 +00:00
Christophe Massiot 62ba06e09f * Borrowed Mandrakesoft's vlc.spec and libdvdcss.spec ;
* New configure option --with-tuning=[arch], extending --enable-pentiumpro ;
for Pentium, use --with-tuning=pentium, for PowerPC 604 use --with-tuning=604,
and so on.
2001-10-02 13:34:56 +00:00
Christophe Massiot 6cd676bcf9 * Removed -march=pentiumpro ; should now work on pentium-class machines ;
* Removed --enable-stats configuration directive. Stats are now activated
at runtime with --stats ;
* New intf_StatMsg() call ;
* Vout picture heap is now 8 pictures instead of 5 (better synchro) ;
* Tremendous enhancements in statistics display ;
* Better capabilities handling.
2001-10-01 16:18:49 +00:00
Christophe Massiot e61bfa60ff Faster configure script and as-yet untested Darwin patches. 2001-09-28 14:17:16 +00:00
Christophe Massiot 93d7b1f09a Test for Altivec C extensions. 2001-09-28 10:39:40 +00:00
Christophe Massiot f9411cc4d1 If memalign isn't available, fall back on valloc. 2001-09-28 09:57:08 +00:00
Christophe Massiot 43cfba30a8 By default, use the real size of the stream for the video output size. 2001-09-26 12:32:25 +00:00
Christophe Massiot 746e6074dd Altivec IDCT and motion compensation, courtesy of Michel Lespinasse for
mpeg2dec (untested).
2001-09-25 11:46:14 +00:00
Christophe Massiot b0ef113345 Fixed many alignment issues. 2001-09-24 11:17:49 +00:00
Christophe Massiot 8ed3168ec3 Miscellaneous updates to configure, especially for cross-compilation. 2001-09-14 15:36:36 +00:00
Christophe Massiot 179acd069b Another fix for the altivec detection. 2001-09-06 13:24:21 +00:00
Christophe Massiot 51705951a3 Fixed numerous bugs with the Altivec IDCT (still not compiling). 2001-09-06 10:39:10 +00:00
Henri Fallon a0c74ab4fb Added gnome.h check and cleaned the error messages in the configure
script
2001-09-06 07:31:39 +00:00
Christophe Massiot b3b880766e * Altivec IDCT and motion compensation, based on Paul Mackerras's mpeg2dec
(untested !) ;
* Local minor optimizations in IDCT ;
* Removed a hopeless kludge in input_clock.c
2001-09-05 16:07:50 +00:00
Sam Hocevar f7a075165e * Attempt to fix the SDL detection under *BSD. 2001-08-23 15:39:46 +00:00
Christophe Massiot 08fe80aaf8 Removed /usr/local/include, because it is unsafe in a cross-compilation
environment. If you have problems with this, tell me and we'll find an
alternate solution.
2001-08-23 13:24:38 +00:00
Christophe Massiot 45f3f2825f * Totally rewrote the video decoder (inspired by walken's mpeg2dec), implying :
- performance boost ;
- fixed the "Dual Prime Arithmetic" bug ;
- 3DNow! motion compensation module ;
* BTW, fixed numerous bugs ;
* AC3dec statistics do not show up with --enable-stats, because I doubt
they're understandable by a normal human being, and they pollute the output.
2001-08-22 17:21:46 +00:00
Sam Hocevar 07bf678b2a * Split ChangeLog into ChangeLog and ChangeLog.libdvdcss.
* Added --xvadaptor flag to select the XVideo adaptor to use.
  * Everything is ready for the 0.2.83 release.
2001-08-22 14:23:57 +00:00
Sam Hocevar bd7443f2ef * Added support in ./configure for the cprof profiler.
* Activated -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 on all platforms, fixes
    issues under Solaris and QNX.
  * Additional checks for SSE-specific (non-MMXEXT) instructions, as
    reported in <20010817114220.A23480@slartibartfast.angrypacket.com>.
2001-08-19 23:35:13 +00:00
Sam Hocevar 1c27686a8b * Fixed yesterday's pthread detection fix. 2001-08-14 17:53:23 +00:00
Sam Hocevar 06fca10912 * GNU/Hurd configuration and compilation fixes. 2001-08-14 04:52:39 +00:00
Sam Hocevar dea6dc1ec6 * Another mistake in the BSD/OS configuration process. 2001-08-10 17:43:50 +00:00
Christophe Massiot 04c93734c0 Added --with-sdl-config-path option if you sdl-config is not in $PATH. 2001-08-10 17:14:11 +00:00
Sam Hocevar c107309f45 * Added proper Conflicts: rules in debian/control.
* configure.in fixes for BSD/OS.
2001-08-10 16:38:59 +00:00
Sam Hocevar 20ff51910f * Added BSD/OS libdvd by Steven M. Schultz <sms@TO.GD-ES.COM> in
extras/BSDI_dvdioctl after he suggested it. License is GPL.
  * ./configure now checks for an installed libdvd under BSD/OS and
    falls back to ours if not found.
  * Fixed harmless typos in yesterday's Solaris libdvd patches.
  * Bumped libdvdcss version number up to 0.0.3 ; release will probably
    follow once the BSDI changes have been tested.
2001-08-09 23:12:36 +00:00
Sam Hocevar e9ea66aeba * Solaris DVD decryption support by H}kan Hjort <d95hjort@dtek.chalmers.se>. 2001-08-08 02:48:44 +00:00
Sam Hocevar 641341e854 * Updated version number to 0.2.82.
* Updated ChangeLog.
  * Fixed a typo in Makefile.dep.
2001-08-07 10:54:51 +00:00
Sam Hocevar 6b933b9ed4 * Got Makefile to launch ./configure almost properly. $(MAKECMDGOALS) rules !
* Various debian scripts fixes.
  * Added -lmsvcrt40 to the win32 flags for proper execution under Wine.
  * Fixed broken soname setting under Solaris (and OS X, sort of).
  * Made the illegal instruction report more explicit.
  * BSD/OS 4.3beta1 fixes by Steven M. Schultz <sms@TO.GD-ES.COM>.
2001-08-07 02:48:25 +00:00
Sam Hocevar 460360a85e * Added a dummy libdvdcss so that the DVD plugin can be used without
libdvdcss. It will try to dlopen() libdvdcss at runtime, though,
    and will use the dummy functions only if it couldn't find a valid
    libdvdcss. This is probably only useful to package maintainers.

  * Tidied the snapshot-* Makefile rules.
  * Tidied the modules Makefiles.
  * Removed useless stuff in the debian/ directory.
  * Removed the "make all" kludge in the Makefile.opts rule. I hope this
    patch is harmless on all systems.
2001-08-06 13:28:01 +00:00
Christophe Massiot 9305e95b79 * Now use SDL_CFLAGS for searching SDL/SDL.h. 2001-07-30 14:13:35 +00:00
Christophe Massiot 544bdffcde * Don't miserably die in `make` when ./configure hasn't be run ;
* Fixed a bug when compiling KDE plug-in without Qt plug-in ;
* Now taking into account $KDEDIR ;
* Made SDL configure error messages more explicit ;
* --disable-sdl is now correctly taken into account ;
* Changed the order of evaluation of sdl-config and sdl11-config ;
* Finally fixed SDL*/SDL.h check ;
2001-07-30 13:57:46 +00:00
Sam Hocevar 20823a8120 * VC++/Intel compiler fixes by Jon Lech Johansen <jon-vl@nanocrew.net>. 2001-07-30 00:53:05 +00:00
Sam Hocevar ed87d04744 * Better gtk-config detection.
* Removed duplicate checks in configure.in.
  * Fixed a typo in vlc.spec.
2001-07-29 22:54:29 +00:00
Sam Hocevar 4aaa00c642 * Fix in libdvdcss in the key caching code.
* Removed useless variables in configure.in which caused all subsequent
    compilation tests to fail.
2001-07-28 02:17:37 +00:00
Sam Hocevar d307283d3e * Additional fixes to the sdl-config detection. 2001-07-27 16:23:14 +00:00
Sam Hocevar 4945d2bb36 * Updated version numbers for imminent release.
* Fixed the --with-dvdcss flag:
     o --with-dvdcss - build libdvdcss, link statically (also default behaviour)
     o --with-dvdcss=local-static - build libdvdcss, link statically
     o --with-dvdcss=local-shared - build libdvdcss, link dynamically
     o --with-dvdcss=/foo/bar - don't build libdvdcss, use libdvdcss in /foo/bar
  * Fixed an omission in the dvdcss.h header.
2001-07-27 14:43:30 +00:00