1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00
Commit Graph

358 Commits

Author SHA1 Message Date
Sam Hocevar
39db76ab86 * Fixed build process when no plugins or no builtins were chosen.
* Makefile changes to get around MacOS X's brain-damaged gcc.
  * FreeBSD configure and Makefile patches, courtesy of Espen
    Skoglund <esk@ira.uka.de>.
2001-04-20 11:06:48 +00:00
Stéphane Borel
b2e1b231bc -corrected some bugs in gnome interface: language menu are now
synchronized ; and menus have less chances to be changed when they're opened.

-added basic angle support ; this is a first try. It works with my 2
test-DVDs, but I'd like that people having DVDs with repeated scenes to
test it. We can choose angle with command line option -u (don't ask me
why :)

-a cosmetic change in css decryption.

Since config.h.in has changed, you have to re-run ./configure.
2001-04-20 05:40:03 +00:00
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
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
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
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
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
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
72ca053968 -changes in gnome interface
-bugfix in input dvd
2001-04-08 07:24:47 +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
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
Stéphane Borel
f6c80a75e2 -Various bug fixes in dvd_netlist. Some bugs seem to remain though.
-New function input_ToggleES for interaction with interface.
-Changes in gnome interface : navigation menus are now splited, there
are radio item in menus and the code should be better.
-First step for dvd_ifo rewritting. Now allocation/disallocation is
being done as it has to be.
-Fixed a bug in title management that make dvd like Seven work.
2001-04-01 07:31:38 +00:00
Sam Hocevar
4f551c2bf0 * Header cleaning: filled all empty authors fields, added CVS $Id stuff.
* Fixes to aout_darwin.c by Colin Delacroix <colin@zoy.org>.
  * Fixes to configure.in, Makefile.in and main.c (Altivec detection)
    by Eugenio Jarosiewicz <ej0@cise.ufl.edu>.
  * Added Colin and Eugenio to the AUTHORS file.
2001-03-21 13:42:35 +00:00
Sam Hocevar
d4c55a8714 * Altivec instructions autodetection. 2001-03-20 23:18:38 +00:00
Christophe Massiot
1e76706805 * Compile Altivec modules on Darwin. [MacOS X port] 2001-03-20 20:54:44 +00:00
Christophe Massiot
13484ed07b * Support for Darwin CoreAudio, courtesy of Colin Delacroix [MacOS X port] ;
* Added warnings for ac3 mantissa (we still have problems with AC3 on
MacOS X) ;
* Renamed WriteResource to avoid a namespace clash with Darwin's
WriteResource.
2001-03-20 17:36:04 +00:00
Sam Hocevar
b004a6619b * Split audio output into several separate files to make it easier
to debug. Removed a few redundancies as well.
2001-03-20 04:44:06 +00:00
Sam Hocevar
98725620ed * vlc core compiles under QNX RTOS. Now if anyone feels like tidying
it and writing output and interface plugins...
2001-03-19 13:26:59 +00:00
Sam Hocevar
52f0fa6821 * Function prototypes for the forthcoming Darwin and MacOS X port.
* Gtk+ interface: fixed a precision issue in the scale.
  * Qt interface: somebody pop up us the menu!!
2001-03-18 00:01:13 +00:00
Christophe Massiot
a3c6cd9af2 * Borrowed config.guess and config.sub from SDL [MacOS X port] ;
* Changed files so that the MacOS X port compiles & runs [MacOS X port] ;
* If SDL/GTK/DSP is not available, don't compile the associated module.
2001-03-16 22:37:06 +00:00
Sam Hocevar
a0c1805bd9 * Bug fixes and enhancements in the Gtk+/Gnome interfaces.
o the slider should behave correctly and stop jumping here and
     there (this bug is _not_ related to Stef's similar bug)
   o added an "open network" menu (useless since the input doesn't
     handle it properly yet)
   o tried to reorganize gnome_callbacks.c and gtk_callbacks.c
   o stream date is now displayed instead of percentage
   o renamed gnome_sys.h to intf_gnome.h, and gtk_sys.h to intf_gtk.h

  * Changed documentation and package creation files.

   o added versioned conflicts/replaces to vlc-gtk (Closes Debian bug #88796)
   o removed useless or outdated documentation from doc/*
   o moved vlc.1 manpage from debian/vlc.1 to doc/vlc.1

  * Added basic Qt interface.

   o working features: slide bar, open file, toolbar, popup menu
   o added "qvlc" alias, equivalent to "vlc -I qt"
   o known issues : no "open disc" or "open network" menus yet
                    the IntfWindow class is never cleaned on destruction
                    the popup menu always pop at the middle of the screen

  * Misc fixes/updates.

   o renamed netutils.h functions from input_* to network_*
   o renamed *plst* files and functions to *playlist* (it was stupid
     from me to name them "plst")
   o made a few input error messages more meaningful
   o added -I, -A and -V short flags, corresponding to --intf, --audio
     and --video

    I got a lot of conflicts on this commit, lart me if I forgot a
  file or made old bugs reappear.
2001-03-15 01:42:20 +00:00
Henri Fallon
a4dc58c893 - Moved 2 local network functions
- Removed old code
- Broadcast should work. I'm not detecting broadcast address, i'm
binding 0.0.0.0
2001-03-11 19:00:18 +00:00
Pierre Baillet
585b6ad74c Hurg !
###code is dirty###
Please clean it for me :P
(or at least, tell me how to clean it)

. Slightly modified playlist base interface
  (Added a function to jump directly to an item, used for double clicking)

. Added manymanycallbacks
. Added the playlist dialog
. Added Dnd support for intf_window and the clist1
  . support URI and plain file(s)/folder(s)
. Added "show/hide main window" menuitem in intf_popup
. Added bugs :P

Enjoy and please bug report.
2001-03-08 13:32:55 +00:00
Stéphane Borel
ec126885b8 -Working menus for run-time audio/spu/title/chapter selection with gtk
interface.

It is a bit buggy yet, and some pieces of code need to change,
especially to handle better menus change when title change but it
eventually works.
2001-03-07 10:31:10 +00:00
Henri Fallon
a6c6f72397 - Fixed TS input ( a nasty dead lock had appeared 4 days ago )
- Added base of network support

Things to be done :
- Meuuh : fix the PCR synchronisation so that we can set b_pace_cntrol to 0
- Sam : find a way of specifing the type of media (file, net). For the
moment, the "--input ts" always call input_NetworkOpen
- Maybe sam : for the moment the working syntax is vlc --input ts
servername, it should nbe turned into "vlc --server servername".

Things that don't work (i'll work on this this week end) :
- stopping and retaking a stream
- a nice 'waiting for stream'
- we select all incoming streams. we should be able to select.

Things that haven't been tested :
- broadcast
- only tested with one stream.

Kick me if something is broken by my fault.
2001-03-07 00:18:46 +00:00
Christophe Massiot
c751bb667c * Fixed an alignment problem in UnalignedShowBits(). 2001-03-06 19:33:58 +00:00
Christophe Massiot
dbbaf8dd5e * Fixed a boolean_t/int mix.
* Increased FIFO_SIZE.
2001-03-06 15:16:42 +00:00
Sam Hocevar
9014b46011 Commited BeOS changes by Richard Shepherd and Tony Castley.
include/video_output.h
    * Added boolean_t b_YCbr to vout_thread_s structure to flag YUV-YCbCr
      decoding needed instead of YUV-RGB
    * Will be removed later when video_output.c rewritten

   src/video_output.c
    * vout_CreateThread() initialises b_YCbr to zero

   plugins/beos/*
    * New BeOS video plugin that supports hardware overlays and new
      MediaPlayer compatible interface

   plugins/*
    * Added YUV-YCbCr transforms
2001-03-04 16:20:16 +00:00
Christophe Massiot
775bd58d87 * Made input_SelectES() and input_UnselectES() not block the input thread
for a long time.
2001-03-02 13:49:37 +00:00
Sam Hocevar
29670af177 * Changed debian/control to fix Debian bug #83707
* Added a --disable-css configure option
  * Moved some code here and there in the DVD plugin to make it easier
    for me to build the Debian CSS-free packages.
2001-03-02 13:47:01 +00:00
Christophe Massiot
4ebb78ddad * Fixed miscellaneous alignment problems (alpha/sparc ports) ;
* Added a fps display when toggling 'i' ;
* Fixed a bug in the video parser where one picture buffer was not
released at quit time ;
* Broke the mux_rate calculation, but hey guys ! it was already broken and
nobody noticed it.
2001-03-02 13:20:29 +00:00
Stéphane Borel
917d257428 -New function for DVD reading, that is able to read multiple blocks
(I've chosen 32 now), that doesn't use any memcpy anymore and is also much
faster. It is ready now for cell positioning in multi-angle DVD (to come
soon).

-DVD specific netlist adapted to 2048 bytes long blocks that contain
several data_packets.

-Modification in mpeg_system.c to use p_payload_start instead of
p_buffer (necessary for DVD plugin). It does not break other plugins
since they set p_payload_start to p_buffer

-New field i_read_once in input_thread_s to be able to read more than
the TS related 7 packets ; i_read_once is set to INPUT_READ_ONCE by
defaults but plugins can change it during initialisation.

Please check that nothing is broken :)
2001-03-02 03:32:46 +00:00
Sam Hocevar
31d966e00b * The Gtk+ interface is now built as a Debian package as well. The Gnome
package depends on it because of the icon and menu entry.
  * Added an intf_WarnHexDump() function to do raw hexadecimal dumps of
    memory areas. For debugging purposes or for real men, as you wish.
  * Lots of tidying in dvd_ioctl.c, a few comments added.
  * Better error handling in the subpicture decoder.
  * Tidied video_spu.c. More to come later.
  * Fixed subtitle displaying. Will soon work in overlay mode as well.
2001-02-26 12:16:29 +00:00
Christophe Massiot
7d38f3f997 * Added functions and hooks to display dates instead of off_t. 2001-02-22 17:00:20 +00:00
Christophe Massiot
99bbcdcb68 * Added a 'd' keystroke to dump the stream contents (for debugging
purposes).
2001-02-22 16:17:12 +00:00
Stéphane Borel
17a54d55f3 -New ES detection based on .ifo for DVD module. It might fail (I have
found one DVD for which ifo seems false).

-Title and chapter selection on the command line (see -t and -T options)
It will allow to watch some DVD that went through menus by default.

-beginning of menus in gnome interface.
2001-02-22 08:44:45 +00:00
Jean-Marc Dressler
9067002c2e Some changes in the BeOS video output :
- New video output method, the vlc now uses BBitmap instead of
  BDirectWindow (better performances)
- Added resizing
- Added beta support for overlay
2001-02-21 15:52:40 +00:00
Henri Fallon
910f40f93c TS Input :
- Added DemuxPSI, DecodePAT and DecodePMT. Never tested which streams
  where PAT or PMT are splitted in more than one section.
- Some TS files still don't work (matrix.ts i.e : no sound ),
  others do ... i'll have to investigate.

Todo :
- What if data get unaligned ?
- Write NetworkOpen
- Try to find why I get no sound on matrix.ts
- Support Stream and program selection.
2001-02-21 04:38:59 +00:00
Sam Hocevar
ba61d25caf * Updated version number to 0.2.62. Release tonight.
* DVD plugin is still non-functional when you don't have DVD ioctls,
   but at least it compiles under BeOS as well.
 * Minor cosmetic changes here and there.
2001-02-20 23:30:15 +00:00
Jean-Marc Dressler
fc04df0ba0 Added the BeOS code for vlc_mutex_destroy() and vlc_cond_destroy() 2001-02-20 17:08:02 +00:00
Christophe Massiot
fdcd1cca10 Minor optimizations in the video decoder. 2001-02-20 15:03:00 +00:00
Stéphane Borel
78335f88e6 Second step in area management ; everything is in place now to have
title handling; it is coming :)
2001-02-20 08:47:25 +00:00
Sam Hocevar
583c6553f6 * Ported Glide and MGA plugins to the new module API. MGA never worked,
so this didn't make it work better.
  * Started thinking about built-in modules, and added some code to
    make it easier eventually.
  * Added Oct in the AUTHORS file.
  * Fixed a mistake in configure.in.
  * All your base are belong to us.
  * Fixed a bug in src/misc/modules which prevented loading modules
    when launched from the Tracker.
  * Fixed a similar bug in src/video_output/video_text.c.
  * BeOS CSS support, thanks to Markus Kuespert <ltlBeBoy@beosmail.com>
    who ported the Linux DVD ioctls. We can now read encrypted DVDs
    under BeOS ! Woohoo.
2001-02-20 07:49:13 +00:00
Stéphane Borel
97c3185de4 First serie of changes in DVD module for the forthcoming interface menus
There is a new capability in input type modules for setting the
attributes of a new area. It is set to NULL for PS and TS plugins.
 It should be called for every title change, chapter change,
audio mode change or spu channel change.

But this part of code is not used at the moment, and is not completed
yet.
2001-02-20 02:53:13 +00:00
Christophe Massiot
33f6628a44 * mux_rate parsing ;
* Changed video decoder's error messages into warnings.
2001-02-19 19:08:59 +00:00