Commit Graph

102264 Commits

Author SHA1 Message Date
Cyril Deguet adff2a8501 Re-added the new packet allocation method in PS input, using packet caches.
With warning level 1, you can see when a packet is allocated or freed; the
goal is to never call 'malloc' nor 'free', except at the beginning of the
stream.
The size of the different caches can be adjusted in plugins/mpeg/input_ps.h.
If 'free' is called too often, it means that a cache is too small, so try
to increase its size.
2001-04-16 12:34:28 +00:00
Sam Hocevar 6116299e39 * Added .cvsignore files in the plugins directories.
* Additional Makefile cleaning for built-in modules.
  * Fixed Makefile for Solaris target.
2001-04-16 07:40:11 +00:00
Stéphane Borel 5427a369c4 -I hope I have fixed the ifo bug lastly ! 2001-04-15 21:17:50 +00:00
Stéphane Borel c01112adc6 -Maybe fixed the "cell not found" bug. I can't test it because I don't
have a dvd drive here, but it should work now.
2001-04-15 15:32:48 +00:00
Sam Hocevar 4a5e3b56ce * All Debian packages are now lintian-clean.
* Fixed XVideo plugin linking.
2001-04-15 15:11:44 +00:00
Sam Hocevar 79a45f72ac * Updated TODO list with Henri's Apr 6th post.
* Built-in modules support almost finished.

    Now you can compile any module within vlc, even the Gnome, Qt, SDL
  and GGI modules at the same time, resulting in an awful extra fat
  vlc binary with gazillons of library dependecies.

    The only exception is that the Gnome and Gtk+ modules can't be
  compiled together into vlc. But you can have one compiled built-in
  and the other as a plugin.

    Another consequence is that libdl should no longer be needed under
  MacOS X. I'll check this as soon as possible.
2001-04-15 10:54:46 +00:00
Sam Hocevar 5b51669f92 * A few Makefile fixes for BeOS
* XVideo patches by Shane Harper
2001-04-15 04:46:41 +00:00
Sam Hocevar 6b3c854071 * Beginning of the built-in modules support.
A few words about the changes:

  - heavy Makefile butchery has taken place, each plugin now has its own
    Makefile. I know recursive make blablah harmful, but it was just so
    much easier to do this way.

  - Makefile.in has disappeared, we now generate Makefile.opts with
    the overall configuration options, and Makefile.modules which is
    specific to module compilation.

  - After ./configure has been run you may want to modify Makefile.opts
    to check which modules will be compiled built-in or as plugins.

  - Some modules cannot be compiled built-in right now because proper
    linkage doesn't work yet. We don't really care since they're the
    interface or video output modules. The most important stuff works
    (iDCT, motion, YUV, input).

  - It's perfectly valid to compile a module both as built-in and as a
    plugin. vlc will only load the built-in one, but I'll add an option
    to ignore built-in modules for testing purposes.

  - We *should* see a performance increase here. I didn't have much time
    to test it, but if anyone can confirm and perhaps give a rough
    estimate of how much we gain...
2001-04-15 04:19:58 +00:00
Sam Hocevar dc4cad8f9f * Got rid of the sleep() hack in beos_specific.cpp
* Fixed a segfault when launched without argument under Darwin.
2001-04-14 07:41:20 +00:00
Sam Hocevar e0e2dcdd71 * Fix for Darwin program path handling. I mistakenly assumed that the
program path was always absolute.
2001-04-13 14:33:22 +00:00
Sam Hocevar a3d70339ee * Updated version number to 0.2.71 (release today).
* Merged 6 months of CVS logs to the ChangeLog file.
    The vlc changelog can now be viewed here:
       http://www.videolan.org/vlc/changelog.html

  * Fixed a lintian error in debian/rules.
  * XVideo resize patch by Shane Harper <shanegh@optusnet.com.au>.
2001-04-13 06:20:23 +00:00
Stéphane Borel f11b9a96dd *Added udf fix by Billy Biggs
*Added checks in dvd_ifo

*Cleanings in gnome interface : the interface should be dependant on the
input method.
2001-04-13 05:36:12 +00:00
Henri Fallon c7df0042b1 TS input : only one audio & spu ES selected at a time
Intf : ts streams in menu
       fixed a typo

There be certainly need for debug on the TS input as vls complains about
wrong sized PES packets, and that many streams do not seem to work.

btw, I forgot to mention in my last commit the function that nooone will
ever use : "right button" key of 105 keys keybords support under X11,
Xv, Sdl
2001-04-13 01:49:22 +00:00
Colin Delacroix bbd9bc5c74 MacOS X
make vlc.app now correctly updates vlc.app
added an icon to the MacOS X vlc
removed the build of the vlc app from the install target
2001-04-12 17:57:12 +00:00
Tony Castley b9f4c2bd2e Fixed menu problem in 0.2.7.0 2001-04-12 11:10:16 +00:00
Sam Hocevar ae157b7220 * Fixed a typo in yesterday's BeOS changes. 2001-04-12 08:24:30 +00:00
Stéphane Borel 7f66cfcadf -added a field to p_input->stream to inform the interface of a stream
change (useful in network mode)
2001-04-12 03:26:53 +00:00
Stéphane Borel 7fecb798eb -Fixed a bug in area management added in my last commit
-Change the way ifo are read ; I hope this fixes problems with some
compilers

-Added error checks in dvd input
2001-04-12 02:40:09 +00:00
Sam Hocevar 3ad76f44ec * BeOS icon and MIME resources courtesy of Wade Majors <guru@startrek.com>.
* Updated icons.
  * Removed redefinition of NULL in src/audio_decoder/adec_layer?.c.
  * Created darwin_specific.c to store the program path at boot time.
    (XXX: check that it didn't break the OS X port)
  * Fixed a warning in netutils.c.
2001-04-12 01:52:45 +00:00
Eugenio Jarosiewicz 4a2860298a Forgot a little thing...main. Done for now I hope;-) 2001-04-11 14:10:49 +00:00
Eugenio Jarosiewicz bd2926f728 Fixed a dumb mistake in Makefile.in 2001-04-11 13:56:39 +00:00
Eugenio Jarosiewicz 4ebec617ae Updated & cleaned up intf_macosx.c and vout_macosx.c - added Open menu
function support and a no-frills About box

Created macosx_common.h in plugins/macosx/ to hold , well, common stuff
(the way I see it, there is inherently a difficult separation of intf and
vout on Mac OS, if anyone has suggestions I'm open)

Cleaned up debug spew I left in modules.c and video_text.c

Hacked main.c to disregard argv[1] when compiled for OSX & run as a full
app (ie., double clicked and not launched from command line)... read the
file for more details.  UGLY.

Updated Makefile.in to make vlc.app by default on Mac OS X & Darwin, added
clean code for it as well
2001-04-11 13:30:30 +00:00
Sam Hocevar b69b9d33ce * Fixed icons location and Debian desktop menus. 2001-04-11 12:52:10 +00:00
Sam Hocevar 15ca5a440c * Forgot a BeOS patch on previous commit. 2001-04-11 04:46:18 +00:00
Sam Hocevar 8ee3c60107 * Fixed the whitespace/tab issues in the Makefile.
* Corrected an awful typo in the version name, I hope Lieutenant Commander
    Arkady Grigorovich Ourumov will never set up us the bomb for that.
  * Removed deprecated stuff from config.h.
  * Disabled message queue by default.
  * A few other changes in the CSS code, the BeOS issues should be fixed.
  * Fixed a memory leak in gtk_callbacks.c (thanks to Dae).
2001-04-11 04:31:59 +00:00
Henri Fallon d69ab00d9d - Ported the 0.2.0's channel changing functions
- Cosmetic changes : the word 'vlan' is disappearing
- network_ChannelJoin is still commented out as it's not in sync anymore
  with our channel server. Nitrox should fix this within a week.
- X and Xv output : added autohide cursor as in SDL
- X and Sv : keys 1 to 0 change channel
- SDL : keys F1 to F10 change channel as I was not able to make 1..0 work
2001-04-11 02:01:24 +00:00
Stéphane Borel b3d7d241c5 -Fixed the lock segfault bug with some compilers
-Quick kludge in ifo to avoid a bug with optims. The real fix is coming.
2001-04-10 17:47:05 +00:00
Stéphane Borel b8539d07f3 -Fixed a compilation issue due to a change in an interface structure 2001-04-09 04:15:30 +00:00
Sam Hocevar ac57e78fe7 * XVideo window now has a black background, thanks to Shane Harper.
* Fixed a heap corruption in dvd_css.c.
2001-04-08 16:57:47 +00:00
Pierre Baillet 7371e7bda7 Forgot one small thing :P 2001-04-08 13:11:45 +00:00
Pierre Baillet 34eab38e7e Corrected playlist update on file opening. 2001-04-08 13:09:32 +00:00
Stéphane Borel 9dde7278ad -fixed css authentication under linux since it has been broken for a few
days: we have to initialize agid of authinfo struct.

-fixed a segfault on exit when DVDInit fails
2001-04-08 09:04:33 +00:00
Stéphane Borel e98a5e59e8 -fixed little poliotage 2001-04-08 07:45:03 +00:00
Stéphane Borel 72ca053968 -changes in gnome interface
-bugfix in input dvd
2001-04-08 07:24:47 +00:00
Sam Hocevar 1843a6156a * Updated ChangeLog and TODO list.
* Added TODO to the .spec file.
  * Fixed Makefile.in so that `make snapshot' takes extras/* in account.
2001-04-08 04:17:30 +00:00
Christophe Massiot 693f22accb Removed --enable-mmx (enabled by default under x86) and changed a few
things.
2001-04-07 23:23:50 +00:00
Christophe Massiot 196b34acab Disable x11 plugin if X11 headers are not found. 2001-04-07 16:35:05 +00:00
Christophe Massiot 9786adf11a Added a missing file for MacOS X port. 2001-04-07 16:21:13 +00:00
Eugenio Jarosiewicz ad08a6d2ed Cleaning code and a small fix to make quit work on OSX 2001-04-07 04:59:52 +00:00
Sam Hocevar 66ac85dc29 * Updated version information in RedHat and Debian package control files. 2001-04-07 04:17:49 +00:00
Christophe Massiot a8c893ff0e * Sync MOSX dev/CVS tree : code support for MacOS X audio, video and
interface (courtesy of Eugenio Jarosiewicz & Colin Delacroix) ;
* Bumped up version number to 0.2.70.
2001-04-06 18:18:10 +00:00
Sam Hocevar 94c51c45b7 * Code cleanup: removed a few tabulations.
* Fixed inline asm routines to remove all read/write operands.
  * Added <string.h> to most files to prevent warnings under FreeBSD.
  * Added "break;" after "default:" in case switches to prevent
    warnings when compiling with GCC 3.0pre.
2001-04-06 09:15:48 +00:00
Cyril Deguet f3f860ca5d switched back to the old packet allocation method for PS input, because
Sam does not want the new one ;)
2001-04-05 16:37:15 +00:00
Cyril Deguet ed003a4a6d Added a new packet allocation method that punish one's mother in PS input.
I hope there won't be too many segfaults because of it ;)
A few parameters must be adjusted to optimize this method; I'll do it later
because Proba Stat sucks ;)
2001-04-05 14:00:28 +00:00
Sam Hocevar cfbe86907a * added the GNU getopt library, which gets compiled in when getopt_long
isn't available on the desired platform.
  * replaced the `--warning' flag with the standard cumulative `-v' flag.
    `-v' is like `--warning 3', and `-vvvv' is like `--warning 0'
    (`--warning' is still valid for those used to it)
  * cleaning in configure.in and Makefile.in, the Solaris port now
    builds and runs properly.
2001-04-05 03:50:38 +00:00
Sam Hocevar 646f7c4629 * compilation fixes for the BeOS DVD ioctls
* XVideo plugin enhancements by Shane Harper <shanegh@optusnet.com.au>
2001-04-04 16:33:07 +00:00
Sam Hocevar 57801bcb3a * additional enhancements to the OS X DVD ioctl module
* big cleaning of the BeOS DVD ioctl code, got rid of all Linuxisms
2001-04-04 02:49:18 +00:00
Stéphane Borel 0fee43a45c -Fall back to one-packet-once reading in dvd input since multi-block
seems to have a bug that make the vlc crash on title/audio/spu change. I
hope that this bug will be fixed soon for the performance is poorer now

-add-ons and changes in gnome interface:
        *menu subdivision is done only if there are over 20 items,
        *in DVD mode next/prev apply to title,
        *in DVD mode, added a box with button to navigate through
         chapters.
This has not been finished yet (and it is not in gtk plugin then). And I
think I will leave toolbar next/prev buttons for playlist and add
button specifically for title change like for chapters.*
2001-04-03 03:39:41 +00:00
Sam Hocevar 8ccd224ce6 * fixes for the Qt plugin compilation under Debian
* heavy butchering in the CSS and DVD ioctl code to put all architecture-
   dependent code in dvd_ioctl.c

 * added almost fully-functional /dev/dvd driver for MacOS X in
   extras/DVDioctl; to build it:

    % cd extras/DVDioctl
    % pbxbuild
    % kextload build/DVDioctl.kext # note: kextload has to be run as root

   be aware that the license for the DVDioctl kernel extension is
   not GPL but APSL, because I borrowed some code from the Darwin kernel.
2001-04-02 23:30:41 +00:00
Richard Shepherd a53dd0f3eb vout_beos now uses double buffering for YCbCr overlay.
This (for some reason) improves audio/video sync
2001-04-02 22:40:07 +00:00