]> git.sesse.net Git - vlc/log
vlc
23 years ago The motion compensation routines are now modules as well ; choose your
Sam Hocevar [Thu, 18 Jan 2001 05:13:23 +0000 (05:13 +0000)]
The motion compensation routines are now modules as well ; choose your
  implementation with `--motion motion', `--motion motionmmx' or
  `--motion motionmmxext'. Of course, the best implementation is chosen
  if you don't ask for any. There doesn't seem to be any performance hit
  due to the move to shared libs, which is a good thing. Please test
  actively if you have time, though.

    Updated --help result, manpage, INSTALL document, and a few files.

    I moved vdec_motion.h and vpar_blocks.h back to /include because they
  will be needed to build motion compensation modules, but perhaps we don't
  need to export everything which is in these files.

    /src/video_decoder/ now has only one .c file, perhaps it could now be
  merged with video_parser ?

23 years ago* Borrowed LiViD's MMX and MMX EXT IDCT.
Christophe Massiot [Wed, 17 Jan 2001 18:17:31 +0000 (18:17 +0000)]
* Borrowed LiViD's MMX and MMX EXT IDCT.

This might break things. Expect a performance increase.

23 years ago . removed a few useless malloc() and unused variables in the audio SDL stuff
Sam Hocevar [Wed, 17 Jan 2001 17:25:13 +0000 (17:25 +0000)]
 . removed a few useless malloc() and unused variables in the audio SDL stuff
 . prepared the work for built-in modules (not yet finished)

23 years ago* Minor changes
Stéphane Borel [Wed, 17 Jan 2001 00:52:22 +0000 (00:52 +0000)]
* Minor changes

23 years ago- small tweak in the copy handling, reduce CPU usage.
Pierre Baillet [Tue, 16 Jan 2001 21:26:43 +0000 (21:26 +0000)]
- small tweak in the copy handling, reduce CPU usage.

23 years ago . --aout sdl now works
Sam Hocevar [Tue, 16 Jan 2001 21:13:02 +0000 (21:13 +0000)]
 . --aout sdl now works

23 years ago- minor cosmetic changes :P
Pierre Baillet [Tue, 16 Jan 2001 21:00:20 +0000 (21:00 +0000)]
- minor cosmetic changes :P
- modified alsa and sdl default level to 50.

23 years ago- Added SDL sound support. Sounds a bit laggy sometimes but my streams are ill.
Pierre Baillet [Tue, 16 Jan 2001 18:35:54 +0000 (18:35 +0000)]
- Added SDL sound support. Sounds a bit laggy sometimes but my streams are ill.
  please try.
- modified configure.in and all that stuff. Re-run configure
- SDL audio, video and interface are all part of the same .so now.
- remove YUV old files :->

23 years ago* Reverted something that wasn't supposed to go into the cvs :p
Christophe Massiot [Tue, 16 Jan 2001 18:06:01 +0000 (18:06 +0000)]
* Reverted something that wasn't supposed to go into the cvs :p
* Removed -fargument-noalias-global which causes problems with as (???).

23 years ago* Borrowed livid's latest libmmx and MMXEXT MC. Not in the Makefile => to
Christophe Massiot [Tue, 16 Jan 2001 17:59:23 +0000 (17:59 +0000)]
* Borrowed livid's latest libmmx and MMXEXT MC. Not in the Makefile => to
test it, replace vdec_motion_inner_mmx.c by vdec_motion_inner_mmxext.c.

I'm interested in performance feedback.

23 years ago . a few changes in the CPU extensions detection code, borrowed from the
Sam Hocevar [Tue, 16 Jan 2001 16:09:52 +0000 (16:09 +0000)]
 . a few changes in the CPU extensions detection code, borrowed from the
   kernel and from mpeg2dec. I still don't know how to detect if code
   compiled with -mcpu=pentiumpro will run, since the cpuid arcanes are
   quite obtuse to me. Perhaps we should also have a way not to load modules
   if they have been compiled with a different CPU to avoid segfaults.

23 years ago . add check for MMX EXT extensions, which doesn't work, which is a good
Sam Hocevar [Tue, 16 Jan 2001 14:05:38 +0000 (14:05 +0000)]
 . add check for MMX EXT extensions, which doesn't work, which is a good
   thing since there is no MMX EXT IDCT yet :)

23 years ago* Change for the forthcoming fast forward and slow motion support.
Christophe Massiot [Tue, 16 Jan 2001 13:27:14 +0000 (13:27 +0000)]
* Change for the forthcoming fast forward and slow motion support.

23 years ago . added files for the SSE (MMX on steroids) IDCT. Meuuh, you should just
Sam Hocevar [Tue, 16 Jan 2001 13:26:46 +0000 (13:26 +0000)]
 . added files for the SSE (MMX on steroids) IDCT. Meuuh, you should just
   need to touch plugins/idct/idct_mmxext.c (ok, the filenames suck).

23 years ago [ include/config.h.in has changed, don't forget tu run ./configure ]
Sam Hocevar [Tue, 16 Jan 2001 05:04:25 +0000 (05:04 +0000)]
 [ include/config.h.in has changed, don't forget tu run ./configure ]

 . fixed the --aout, --idct and --yuv flags
 . updated manpage and --(long)help output to reflect that change
 . removed a few unneeded #includes here and there
 . cosmetic changes in error messages in input.c

   Currently available flags are now :

     --aout dummy
            esd
            dsp
            alsa

     --idct idct
            idctclassic
            idctmmx

     --yuv yuv
           yuvmmx

  --vout works like before, but still uses the old plugin system for now.

23 years ago. Now use of 64 bits offsets to parse the whole DVD. So we have all the
Stéphane Borel [Tue, 16 Jan 2001 04:41:20 +0000 (04:41 +0000)]
. Now use of 64 bits offsets to parse the whole DVD. So we have all the
available information
. Fixed a bug in parsing of VTS attributes
. Fixed a bug in input.c that made input plugin initialize even though
no stream is reachable (thanks Sam)

I hope I'll be able to get the position of the movie soon.

Meuuh : the seek function of the plugin now take off_t as argument which
could be a problem later. Maybe it should take off64_t or time argument.

23 years ago . merged the YUV plugins in the same directory to avoid too much code
Sam Hocevar [Tue, 16 Jan 2001 02:16:38 +0000 (02:16 +0000)]
 . merged the YUV plugins in the same directory to avoid too much code
   duplication
 . YUV transformations now use the new module API ; now only the vout
   and interface still depend on the old plugin API
 . changed TestMMX to TestCPU because we will be able to test for other
   specific extensions (3DNow, SSE) for the forthcoming IDCT we'll
   borrow to mpeg2dec (as usual :P)
 . don't show "hiding module" messages anymore except in debug mode
 . swapped C IDCT and Classic IDCT scores since the classic one seems
   to be faster ; anyway you should use the MMX one
 . fixed a Makefile bug under BeOS
 . tried to fix the cpuid code so that it compiles under BeOS (Polux, can
   you test it when you have time ?)

23 years ago* Fixed a bug in the frame rate handling ;
Christophe Massiot [Mon, 15 Jan 2001 19:54:34 +0000 (19:54 +0000)]
* Fixed a bug in the frame rate handling ;
* Fixed a bug in the DTS/PTS ordering.
Our pts are _at last_ accurate.

23 years ago* Finally fixed repeat_first_field and co. (pas encore tout compris...)
Christophe Massiot [Mon, 15 Jan 2001 18:02:49 +0000 (18:02 +0000)]
* Finally fixed repeat_first_field and co. (pas encore tout compris...)

23 years ago* Implemented video_parser bitstream callback for PTS/DTS.
Christophe Massiot [Mon, 15 Jan 2001 13:25:09 +0000 (13:25 +0000)]
* Implemented video_parser bitstream callback for PTS/DTS.

23 years ago* Fixed close button support in SDL
Renaud Dartus [Mon, 15 Jan 2001 12:42:58 +0000 (12:42 +0000)]
* Fixed close button support in SDL
* Fixed --width and --height support in SDL

23 years ago OK, so I foired input.h once again. But this one works. For real.
Sam Hocevar [Mon, 15 Jan 2001 08:07:31 +0000 (08:07 +0000)]
   OK, so I foired input.h once again. But this one works. For real.

23 years ago . correction d'un poliotage de copier-coller
Sam Hocevar [Mon, 15 Jan 2001 06:56:30 +0000 (06:56 +0000)]
 . correction d'un poliotage de copier-coller

23 years ago . fixed the bug-that-made-the-vlc-segfault-on-exit, which means that
Sam Hocevar [Mon, 15 Jan 2001 06:18:23 +0000 (06:18 +0000)]
 . fixed the bug-that-made-the-vlc-segfault-on-exit, which means that
   more than ever, � le client ne segfaulte pas �.

 . there was still a problem upon quitting: sometimes the null packet
   wasn't big enough to reach a decoder breakpoint, so I now create 10
   of them (since I can't make it bigger) to be sure. Meuuh, what do
   you think ?

 . fixed the Makefile to spare a few variables here and there.

 . reduced module hide delay, removed loading of the audio output
   plugins since they are now modules.

 . changed a few intf_Msg to intf_DbgMsg, and added "vout:", "intf:",
   and so on in a few other messages.

 . removed unused includes in the idct modules.

23 years ago. Correction of bugs in ifo parsing. Now the structures should be well
Stéphane Borel [Mon, 15 Jan 2001 03:26:56 +0000 (03:26 +0000)]
. Correction of bugs in ifo parsing. Now the structures should be well
initialized. It remains some segfaults but it globally works.
. DVD mode is enabled with option --dvd. For the moment, it only read
the first vts and find the movie if it is at the beginning of the title
set.

Coming soon:
. udf filesystem management to access over 2Gb zones.
. detection of the offset to the movie inside a vts when it is not at
the beginning.

Is there a chance that using fopen/fseek function instead of open/lseek
system calls solve the 2Gb issue ?

23 years ago. Beginning of dvd_input.
Stéphane Borel [Sun, 14 Jan 2001 07:08:00 +0000 (07:08 +0000)]
. Beginning of dvd_input.
. Parsing of ifo file almost completed.
. Still does not work well.

23 years ago . second part of the commit
Sam Hocevar [Sat, 13 Jan 2001 12:57:47 +0000 (12:57 +0000)]
 . second part of the commit

23 years ago . the IDCT functions are now located in modules : the classic IDCT,
Sam Hocevar [Sat, 13 Jan 2001 12:57:21 +0000 (12:57 +0000)]
 . the IDCT functions are now located in modules : the classic IDCT,
   our optimized IDCT, and MMX IDCT.
 . cosmetic changes for modules (pf_* instead of p_*)
 . fixes to the BeOS and dummy modules

   WARNING: a new directory has been added, which means you have to
   use `cvs update -dP' to update ; files have been removed , which means
   you either have to run `make distclean' or remove the .deps directory,
   and the configure script has changed, which means you have to run it
   again. Don't complain before having checked this :)

   Note about the IDCT modules: there is no way to choose the one we
   use, but you may remove the module in lib/ to prevent it from being
   loaded. The preference order is : MMX, Optimized, Classic.

23 years ago* Changed default values :
Christophe Massiot [Fri, 12 Jan 2001 17:33:18 +0000 (17:33 +0000)]
* Changed default values :
INPUT_PTS_DELAY down to 200 ms ;
video heap down from 10 to 5 pictures ;
decoder fifo size from 1023 to 511 PES ;
* Fixed various bugs in 32 bit-versions of input_ext-dec.h ;
* Fixed a bug in GetChunk() ;
* Renamed GetByte, GetWord, ShowWord to _GetByte, _GetWord, _ShowWord ;
* Moved decoder_fifo-specific code from programs.c to dec.c ;
* Fixed bugs in program.c that prevented vlc to close all decoders ;
* Gave sam a lesson for the use of the bitstream in spu_decoder.c :ppp ;
* Made the video parser unlock the reference pictures before quitting
(still one left, yaknow why ?)

23 years ago . destroy fifo mutex and cond variables _after_ they are used for
Sam Hocevar [Fri, 12 Jan 2001 14:49:55 +0000 (14:49 +0000)]
 . destroy fifo mutex and cond variables _after_ they are used for
   the last time. henri, that'll be one binouze.

23 years ago . Attempt to port the BeOS audio plugin to the new module API. Will
Sam Hocevar [Fri, 12 Jan 2001 13:15:42 +0000 (13:15 +0000)]
  . Attempt to port the BeOS audio plugin to the new module API. Will
    probably need a few fixes to work or even compile.

23 years agoDone :
Henri Fallon [Fri, 12 Jan 2001 12:48:24 +0000 (12:48 +0000)]
Done :
- ported the alsa plugin to the news vlc module API
- cosmetic changes

To do :
- check if it works with the latest alsa release
- add features ... prepare for 4 or more speakers

23 years ago* Fixed 32 bits bitstream bugs.
Christophe Massiot [Fri, 12 Jan 2001 11:36:49 +0000 (11:36 +0000)]
* Fixed 32 bits bitstream bugs.

23 years ago . moved the MPEG audio decoder to the new bitstream
Sam Hocevar [Thu, 11 Jan 2001 17:44:48 +0000 (17:44 +0000)]
  . moved the MPEG audio decoder to the new bitstream

    I wasn't sure whether the bits counting method was effective to
  skip ancillary data at the end of a frame, but I kept it for
  safety. There is still a lot to optimize in the bit counting, like
  unrolling the first iteration of some loops, but I don't know if
  it would be worth it. The other solution would have been to look for
  a startcode after eache frame, without caring about the ancillary bits.

  . cleaning in the SPU decoder.

23 years ago . moved swab32 from input_ext-dec.h to common.h. We probably won't need
Sam Hocevar [Thu, 11 Jan 2001 15:35:35 +0000 (15:35 +0000)]
 . moved swab32 from input_ext-dec.h to common.h. We probably won't need
   it anymore really soon, since ntohl() and htonl() seem to be properly
   optimized when gcc is passed the right optimization flags.

 . fixed GetBits32 and RemoveBits32. I know the #ifdefs are useless since
   we only support u32 words, but it's a safe reminder. Comments appreciated
   on this fix since I may have b0rked something -- it runs well here though.

23 years ago . fixed a missing #ifdef STATS
Sam Hocevar [Wed, 10 Jan 2001 19:48:26 +0000 (19:48 +0000)]
 . fixed a missing #ifdef STATS
    *grin*

23 years ago* Changed code for handling b_die in bitstream ;
Christophe Massiot [Wed, 10 Jan 2001 19:22:11 +0000 (19:22 +0000)]
* Changed code for handling b_die in bitstream ;
* Move input_ext-dec.h to input.h ;
* New input_NullPacket function ;
* Fixed init bugs in input and vpar ;

23 years ago* Placed a callback to the decoder in the bitstream structure ;
Christophe Massiot [Wed, 10 Jan 2001 16:24:11 +0000 (16:24 +0000)]
* Placed a callback to the decoder in the bitstream structure ;
* Fixed a purify bug in input_ps.c ;
* Added -mcpu=pentiumpro in the Makefile.

23 years ago . complete commenting of modules_core.h and small modifications
Sam Hocevar [Wed, 10 Jan 2001 02:33:59 +0000 (02:33 +0000)]
 . complete commenting of modules_core.h and small modifications
 . separated MODULE_CONFIG_START and ADD_WINDOW (Henri, beware)
 . fixed a very, very old bug that caused namespace collision between
   plugins (Henri, beware: call your aout_getplugin function like this,
   not alsa_aout_getplugin)
 . removed the Debian specific clean rules from the Makefile, since they
   are already handled by the debian/rules script.
 . tidied a few compilation rules (-lfoo should always be at the end)

23 years ago . just removed a forgotten debug message in the setpalette code
Sam Hocevar [Tue, 9 Jan 2001 23:29:15 +0000 (23:29 +0000)]
 . just removed a forgotten debug message in the setpalette code

23 years ago.Added 8bits palette SDL support.
Pierre Baillet [Tue, 9 Jan 2001 22:30:26 +0000 (22:30 +0000)]
.Added 8bits palette SDL support.
.Tried to add it to stable, failed, probably because of the initialisation codes which are differents...

23 years ago . fixed a warning under FreeBSD (dlerror() is a const char*, not a char*).
Sam Hocevar [Tue, 9 Jan 2001 21:03:47 +0000 (21:03 +0000)]
 . fixed a warning under FreeBSD (dlerror() is a const char*, not a char*).
 . made configure script look for the bswap assembly instruction (using
   AC_TRY_COMPILE makes sure the compiler will really accept it).

23 years ago - maybe found the fullscreen bug, please test :)
Arnaud de Bossoreille de Ribou [Mon, 8 Jan 2001 22:56:06 +0000 (22:56 +0000)]
  - maybe found the fullscreen bug, please test :)

23 years ago - fixed colors' bug (TODO: write a function in vout that recalculate colors
Arnaud de Bossoreille de Ribou [Mon, 8 Jan 2001 22:42:50 +0000 (22:42 +0000)]
  - fixed colors' bug (TODO: write a function in vout that recalculate colors
    from RGB masks);
  - cleaning of the fullscreen switch, still sucks but the surface is not
    reallocated and that's good (thanks to the magic function
    SDL_WM_ToggleFullScreen provided by sdl library :).

23 years ago . Added a missing mutex_unlock in video_output.c
Sam Hocevar [Mon, 8 Jan 2001 18:16:33 +0000 (18:16 +0000)]
 . Added a missing mutex_unlock in video_output.c
 . Moved a mutex_destroy after the thread cancellation to prevent
   possible problems
 . Added a missing #ifdef in intf_msg.c which prevented compilation
   with --enable-debug
 . Fixed a bug in the input that prevented to quit properly in certain
   cases (some ES were not deleted because their index was skipped when
   the former one was deleted, well Meuuh should know what I mean)

  There is still a segfault when quitting, most presumably in the
 audio output. I couldn't find what causes it yet.

23 years ago - cleaning of SDL Lock/Unlock Surface.
Arnaud de Bossoreille de Ribou [Mon, 8 Jan 2001 01:07:21 +0000 (01:07 +0000)]
  - cleaning of SDL Lock/Unlock Surface.

23 years ago . added a .cvsignore file in lib/ so that the directory doesn't get
Sam Hocevar [Sun, 7 Jan 2001 17:07:02 +0000 (17:07 +0000)]
 . added a .cvsignore file in lib/ so that the directory doesn't get
   removed whenever one does a cvs update -dP
 . fixed debian/.cvsignore because of a new version of debhelper

23 years ago . all plugins now compile with -fPIC.
Sam Hocevar [Sun, 7 Jan 2001 16:17:59 +0000 (16:17 +0000)]
 . all plugins now compile with -fPIC.

 . made the audio_output API a bit simpler.

 . got rid of modules_config.h.

 . fixed `make install' rule.

 . fixed warnings in the MMX YUV compilation.

 . probably fixed a bug in the input : pp_foo structures were free()d at
   the end, but this was useless since the last call to realloc() is
   equivalent to free(), and two consecutive calls to free() aren't a
   goo idea.

 . we check that the version number match and that we don't already have
   a module by that name when loading a new module.

 . all public module_* functions now properly lock the module bank.

 . the audio_output now uses the new module API ; EsounD and DSP modules
   have been ported, which should be enough for Henri to port the ALSA one.

   The new plugin API is now much simpler ; it's now just a matter of
calling module_Need( p_main->p_module_bank, MODULE_CAPABILITY_FOO, p_data );
and if successful we get the best module. Capabilities can be ORed, so that
one can ask for a plugin that does VOUT _and_ INTF actions for instance.

   It's not complete yet though -- by making it generic I had to do a few
ugly casts here and there, which I am going to fix ASAP. Also, command line
selection of a plugin does not work yet.

   The switch to the new plugin API has probably broken the BeOS audio
output ; we can either wait until the whole vlc has switched to the new
plugins, or create a separate beos_sound.so that conforms to the new API.

23 years agoNoSEGfault Kl�dge added.
Pierre Baillet [Sun, 7 Jan 2001 15:58:33 +0000 (15:58 +0000)]
NoSEGfault Kl�dge added.

23 years agoHum, ouais bon ben euhh, j'avais fume, donc je repare mes conneries et je
Benoit Steiner [Sun, 7 Jan 2001 06:40:29 +0000 (06:40 +0000)]
Hum, ouais bon ben euhh, j'avais fume, donc je repare mes conneries et je
vais me coucher.

23 years agoOptimisation de BinaryLog
Benoit Steiner [Sun, 7 Jan 2001 05:41:50 +0000 (05:41 +0000)]
Optimisation de BinaryLog

23 years ago- Order : if a then b are initialized, release b then a ;
Henri Fallon [Sun, 7 Jan 2001 04:31:18 +0000 (04:31 +0000)]
- Order : if a then b are initialized, release b then a ;
- Typos ;
- Cosmetic changes.

23 years ago- Added vlc_mutex_destroy and vlc_cond_destroy function, for pthreads.
Henri Fallon [Sun, 7 Jan 2001 03:56:40 +0000 (03:56 +0000)]
- Added vlc_mutex_destroy and vlc_cond_destroy function, for pthreads.
- Used them before quitting, every lock and cond is destroyed
- Checked the return value of malloc and realloc in input_programs
- Cosmetic changes

TODO: add vlc_*_destroy for beos and C_thread

23 years agoFixed compilation pb under solaris 2.6
Benoit Steiner [Sat, 6 Jan 2001 08:05:17 +0000 (08:05 +0000)]
Fixed compilation pb under solaris 2.6

23 years agoFixed solaris libraries
Benoit Steiner [Sat, 6 Jan 2001 08:04:46 +0000 (08:04 +0000)]
Fixed solaris libraries

23 years ago . should compile & run on Solaris with ./configure --disable-dsp
Sam Hocevar [Sat, 6 Jan 2001 07:23:32 +0000 (07:23 +0000)]
 . should compile & run on Solaris with ./configure --disable-dsp
    (tested on puma)
 . removed most SYS_SOLARIS #ifdef's in favour of more generic tests
 . updated example ./configure line in INSTALL file
 . now we only load modules that end with ".so"
 . null module is compiled by default

23 years agoFixed a typo than prevented from building ...
Henri Fallon [Sat, 6 Jan 2001 05:44:45 +0000 (05:44 +0000)]
Fixed a typo than prevented from building ...

23 years agoFixed initialization of payload_start and payload_end
Henri Fallon [Sat, 6 Jan 2001 03:16:00 +0000 (03:16 +0000)]
Fixed initialization of payload_start and payload_end
It should be finished now.

23 years agoBSD port, including :
Christophe Massiot [Fri, 5 Jan 2001 18:46:45 +0000 (18:46 +0000)]
BSD port, including :
* --enable-sdl and some others are now --with-sdl[=name] to supply an
optional library name ;
* deleted all unnecessary #include <sys/uio.h> ;
* /usr/include is now searched when looking for libraries and headers.

It seems to compile and run on BSD. Under Linux Sam's latest commit makes
vlc crash on startup, so I can't really tell, but hey it compiles.

23 years ago . src/misc/modules.c is in a workable state now.
Sam Hocevar [Fri, 5 Jan 2001 18:06:33 +0000 (18:06 +0000)]
 . src/misc/modules.c is in a workable state now.

  To test it, run ./configure with the --enable-null flag, which will
  compile the Null Module as a plugin. Watch the memory usage at the
  launch and when the plugin is released.

23 years ago(previous commit foired)
Sam Hocevar [Fri, 5 Jan 2001 14:46:37 +0000 (14:46 +0000)]
(previous commit foired)

 . this is a coding style patch which removes all "foo(bar){" constructions
   and most of the tabulations.
 . also, fixed a bug in the default subtitle track.
 . and made a few error messages more explicit, ie. changed "error: %s" to
   "foo error: couldn't initialize bar (%s)"
 . and removed a warning in intf_ctrl.c which isn't used anyway.

23 years ago . this is a coding style patch which removes all "foo(bar){" constructions
Sam Hocevar [Fri, 5 Jan 2001 14:45:47 +0000 (14:45 +0000)]
 . this is a coding style patch which removes all "foo(bar){" constructions
   and most of the tabulations.
 . also, fixed a bug in the default subtitle track.
 . and made a few error messages more explicit, ie. changed "error: %s" to
   "foo error: couldn't initialize bar (%s)"

23 years ago . splitted modules.h into modules.h and modules_core.h to enable
Sam Hocevar [Fri, 5 Jan 2001 14:28:42 +0000 (14:28 +0000)]
 . splitted modules.h into modules.h and modules_core.h to enable
    clean compilation of the Null Module.

23 years ago . added the Null Module, the module that does nothing but that is going
Sam Hocevar [Fri, 5 Jan 2001 14:24:06 +0000 (14:24 +0000)]
 . added the Null Module, the module that does nothing but that is going
    to be of great help for debugging my module code.

23 years ago . Added files needed for the forthcoming module management.
Sam Hocevar [Fri, 5 Jan 2001 13:57:12 +0000 (13:57 +0000)]
 . Added files needed for the forthcoming module management.

 Notes:

   Plugins are now called modules, because we will be able to compile
   them either as a dynamic plugin, or within the program. And, more
   important, I can commit this without having to break the vlc :)

   I tried to be as clear as possible in my comments, please tell me
   if a few prototypes still have an unclear beahaviour.

   Current features:
    . none, files haven't even been added to the Makefile yet.

   Future features:
    . dynamic loading (done)
    . built-in modules (still to do)
    . automatic unloading of plugins (done)
    . dynamic configuration (still to do)
    . automatic choosing of the most appropriate plugin for a given
       task (still to do but well prepared)

23 years ago - fixed pitch bug;
Arnaud de Bossoreille de Ribou [Thu, 4 Jan 2001 23:18:21 +0000 (23:18 +0000)]
  - fixed pitch bug;
  - fixed segfault, it was probably a memory corruption but I'm not sure :) ;
  - video_output.c : compute picture size even if b_need_render == 0;

23 years ago* Fixed a deadlock (the vout unlocked a mutex locked by another thread,
Christophe Massiot [Thu, 4 Jan 2001 18:47:18 +0000 (18:47 +0000)]
* Fixed a deadlock (the vout unlocked a mutex locked by another thread,
grrrr, I'll kill someone) ;
* Put config.h in front of others in audio_decoder.c.

23 years agoBetter display of the fps.
Christophe Massiot [Tue, 2 Jan 2001 14:03:30 +0000 (14:03 +0000)]
Better display of the fps.

23 years agoComments for Henri.
Christophe Massiot [Sat, 30 Dec 2000 00:38:19 +0000 (00:38 +0000)]
Comments for Henri.

23 years ago . fixed default subtitle stream handling (default: no subtitles)
Sam Hocevar [Fri, 29 Dec 2000 14:04:59 +0000 (14:04 +0000)]
 . fixed default subtitle stream handling (default: no subtitles)
 . added a few missing break;s
 (oui je sais je ne fais que des patches de deux lignes � trois balles,
  mais par telnet c'est pas facile)

23 years ago- Removed i_iovec_start and i_iovec_end. Used i_data instead
Henri Fallon [Fri, 29 Dec 2000 14:03:44 +0000 (14:03 +0000)]
- Removed i_iovec_start and i_iovec_end. Used i_data instead
- Meuuh : some questions for you in the commentaries

Happy new year !

23 years agoFixed THX Cimmarron bug (it was _not_ a synchro bug).
Christophe Massiot [Fri, 29 Dec 2000 12:49:30 +0000 (12:49 +0000)]
Fixed THX Cimmarron bug (it was _not_ a synchro bug).

23 years ago* Fixed a bug in the DTS/PTS parsing ;
Christophe Massiot [Fri, 29 Dec 2000 10:52:40 +0000 (10:52 +0000)]
* Fixed a bug in the DTS/PTS parsing ;
* Fixed a bug in vpar_headers.c synchro handling introduced before ;
* Enhanced synchro's handling of dates and frame structure changes.

23 years agoCosmetic change of the debug messages.
Christophe Massiot [Thu, 28 Dec 2000 18:00:38 +0000 (18:00 +0000)]
Cosmetic change of the debug messages.

23 years agoFixed a bug in the PSM decoder.
Christophe Massiot [Thu, 28 Dec 2000 17:57:39 +0000 (17:57 +0000)]
Fixed a bug in the PSM decoder.

23 years agoWe now read the DTS (but we don't use it for the moment).
Christophe Massiot [Wed, 27 Dec 2000 18:35:45 +0000 (18:35 +0000)]
We now read the DTS (but we don't use it for the moment).
NB : b_has_pts has disappeared for brevity reasons, use i_pts != 0 instead.

23 years agoNew synchro statistics and warnings.
Christophe Massiot [Wed, 27 Dec 2000 18:09:02 +0000 (18:09 +0000)]
New synchro statistics and warnings.

23 years ago . avoid calling SafeRead() with a null packet size.
Sam Hocevar [Wed, 27 Dec 2000 09:54:53 +0000 (09:54 +0000)]
 . avoid calling SafeRead() with a null packet size.

23 years ago* Use of ptrdiff_t whenever necessary (IA-64 port) ;
Christophe Massiot [Tue, 26 Dec 2000 19:14:47 +0000 (19:14 +0000)]
* Use of ptrdiff_t whenever necessary (IA-64 port) ;
* Changed behaviour of preparsing code, faster startup ;
* Fixed DecodePSM(), cannot test ;
* Cleaned up ParsePES(), fixed a bug which could reject very small but
  valid PES packets ;
* Fixed cosmetic bugs in vpar_synchro frame_rate display.

23 years ago . changed subtitles palette.
Sam Hocevar [Sun, 24 Dec 2000 06:08:04 +0000 (06:08 +0000)]
 . changed subtitles palette.

23 years ago . SPU decoder now uses Meuuh's GetChunk() code.
Sam Hocevar [Sat, 23 Dec 2000 03:10:59 +0000 (03:10 +0000)]
 . SPU decoder now uses Meuuh's GetChunk() code.
 . lots of cleaning in the SPU decoder.
 . message queue is flushed before we spawn input.
 . fixed so that it compiles with VDEC_SMP (no good sync yet though).

23 years ago - sdl resising rulze, still buggy
Arnaud de Bossoreille de Ribou [Fri, 22 Dec 2000 18:57:35 +0000 (18:57 +0000)]
  - sdl resising rulze, still buggy

23 years ago* Using i_id instead of i_stream_id whenever possible ;
Christophe Massiot [Fri, 22 Dec 2000 17:53:30 +0000 (17:53 +0000)]
* Using i_id instead of i_stream_id whenever possible ;
* Fixed a bug in -c and -s options.

23 years ago* Fixed a compile pbm in debug mode (f34r d4 1-line fix)
Christophe Massiot [Fri, 22 Dec 2000 15:34:24 +0000 (15:34 +0000)]
* Fixed a compile pbm in debug mode (f34r d4 1-line fix)

23 years ago . fixed AC3 and SPU PES reading (ph34r da one-byte patch)
Sam Hocevar [Fri, 22 Dec 2000 15:00:42 +0000 (15:00 +0000)]
 . fixed AC3 and SPU PES reading (ph34r da one-byte patch)
 . some 79 char wrap.

23 years ago . no need to add "\n" at the end of intf_*Msg() messages anymore.
Sam Hocevar [Fri, 22 Dec 2000 13:04:45 +0000 (13:04 +0000)]
 . no need to add "\n" at the end of intf_*Msg() messages anymore.

23 years ago* Moved input_DecodePES() to input_dec.c ;
Christophe Massiot [Fri, 22 Dec 2000 10:58:27 +0000 (10:58 +0000)]
* Moved input_DecodePES() to input_dec.c ;
* Fixed an segfault in input_programs.c ;
* Added -fomit-frame-pointer optimization.

23 years ago* Fixed a *major* memory leak in the pre-parsing code. Hopefully it should
Christophe Massiot [Thu, 21 Dec 2000 19:33:03 +0000 (19:33 +0000)]
* Fixed a *major* memory leak in the pre-parsing code. Hopefully it should
  be the last one.

23 years ago* New decoder spawning API input_dec.c ;
Christophe Massiot [Thu, 21 Dec 2000 19:24:27 +0000 (19:24 +0000)]
* New decoder spawning API input_dec.c ;
* Moved p_input->pp_es -> p_input->stream.pp_es and clean up of
  input_programs.c & co ;
* Fixed memory leaks.

23 years ago* Moved video_decoder's headers from include/ to src/video_decoder.
Christophe Massiot [Thu, 21 Dec 2000 17:19:54 +0000 (17:19 +0000)]
* Moved video_decoder's headers from include/ to src/video_decoder.
* Temporarily removed b&w kludge.

23 years ago* Splitted up p_method_data/p_plugin_data ;
Christophe Massiot [Thu, 21 Dec 2000 15:01:08 +0000 (15:01 +0000)]
* Splitted up p_method_data/p_plugin_data ;
* Cleaned up input_ts.c, added it into the Makefile.

23 years agoFixed various memory leaks.
Christophe Massiot [Thu, 21 Dec 2000 14:18:15 +0000 (14:18 +0000)]
Fixed various memory leaks.

23 years ago* Removed all arbitrary limits on the number of elementary streams.
Christophe Massiot [Thu, 21 Dec 2000 13:54:15 +0000 (13:54 +0000)]
* Removed all arbitrary limits on the number of elementary streams.

23 years ago* Removed b_die and b_error from all decoders (obsoleted by decoder_fifo_t).
Christophe Massiot [Thu, 21 Dec 2000 13:25:51 +0000 (13:25 +0000)]
* Removed b_die and b_error from all decoders (obsoleted by decoder_fifo_t).
All decoders should now exit cleanly (if it's not the case, it should be
referenced as a bug).

23 years agoComments for Henri.
Christophe Massiot [Thu, 21 Dec 2000 13:07:45 +0000 (13:07 +0000)]
Comments for Henri.

23 years ago* Fixed a bug which prevented the input to exit normally (non-selected
Christophe Massiot [Thu, 21 Dec 2000 12:38:27 +0000 (12:38 +0000)]
* Fixed a bug which prevented the input to exit normally (non-selected
ES in the pp_selected_es array).

23 years agoAdded netlist support.
Henri Fallon [Thu, 21 Dec 2000 00:39:49 +0000 (00:39 +0000)]
Added netlist support.

Warning : it has not been tested. It just make no error at build time.

23 years agoD�sol� !
Renaud Dartus [Wed, 20 Dec 2000 23:24:23 +0000 (23:24 +0000)]
D�sol� !

23 years agoAdded U8_Mono audio output
Renaud Dartus [Wed, 20 Dec 2000 22:23:24 +0000 (22:23 +0000)]
Added U8_Mono audio output

23 years ago . fixed "-a [ mpeg | ac3 | lpcm | off ]" option
Sam Hocevar [Wed, 20 Dec 2000 20:09:19 +0000 (20:09 +0000)]
 . fixed "-a [ mpeg | ac3 | lpcm | off ]" option