1. 15 Jan, 2001 2 commits
    • Sam Hocevar's avatar
      · c0211e9a
      Sam Hocevar authored
       . 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.
      c0211e9a
    • Stéphane Borel's avatar
      . Correction of bugs in ifo parsing. Now the structures should be well · bba08209
      Stéphane Borel authored
      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 ?
      bba08209
  2. 14 Jan, 2001 1 commit
  3. 13 Jan, 2001 2 commits
    • Sam Hocevar's avatar
      · e360e2a4
      Sam Hocevar authored
       . second part of the commit
      e360e2a4
    • Sam Hocevar's avatar
      · 26ee312a
      Sam Hocevar authored
       . 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.
      26ee312a
  4. 12 Jan, 2001 5 commits
    • Christophe Massiot's avatar
      * Changed default values : · a558a9bb
      Christophe Massiot authored
      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 ?)
      a558a9bb
    • Sam Hocevar's avatar
      . destroy fifo mutex and cond variables _after_ they are used for · ebfaed9b
      Sam Hocevar authored
         the last time. henri, that'll be one binouze.
      ebfaed9b
    • Sam Hocevar's avatar
      . Attempt to port the BeOS audio plugin to the new module API. Will · c393ff60
      Sam Hocevar authored
          probably need a few fixes to work or even compile.
      c393ff60
    • Henri Fallon's avatar
      · 4af9ab12
      Henri Fallon authored
      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
      4af9ab12
    • Christophe Massiot's avatar
      * Fixed 32 bits bitstream bugs. · a85534e5
      Christophe Massiot authored
      a85534e5
  5. 11 Jan, 2001 2 commits
    • Sam Hocevar's avatar
      · e3636eb1
      Sam Hocevar authored
        . 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.
      e3636eb1
    • Sam Hocevar's avatar
      · 993381a2
      Sam Hocevar authored
       . 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.
      993381a2
  6. 10 Jan, 2001 4 commits
    • Sam Hocevar's avatar
      · bf10480d
      Sam Hocevar authored
       . fixed a missing #ifdef STATS
          *grin*
      bf10480d
    • Christophe Massiot's avatar
      * Changed code for handling b_die in bitstream ; · ecff1e71
      Christophe Massiot authored
      * Move input_ext-dec.h to input.h ;
      * New input_NullPacket function ;
      * Fixed init bugs in input and vpar ;
      ecff1e71
    • Christophe Massiot's avatar
      * Placed a callback to the decoder in the bitstream structure ; · 0b625864
      Christophe Massiot authored
      * Fixed a purify bug in input_ps.c ;
      * Added -mcpu=pentiumpro in the Makefile.
      0b625864
    • Sam Hocevar's avatar
      · 9f553534
      Sam Hocevar authored
       . 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)
      9f553534
  7. 09 Jan, 2001 3 commits
    • Sam Hocevar's avatar
      · 9451c9b9
      Sam Hocevar authored
       . just removed a forgotten debug message in the setpalette code
      9451c9b9
    • Pierre Baillet's avatar
      .Added 8bits palette SDL support. · cbb9cfbf
      Pierre Baillet authored
      .Tried to add it to stable, failed, probably because of the initialisation codes which are differents...
      cbb9cfbf
    • Sam Hocevar's avatar
      · ef05e776
      Sam Hocevar authored
       . 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).
      ef05e776
  8. 08 Jan, 2001 4 commits
  9. 07 Jan, 2001 7 commits
    • Sam Hocevar's avatar
      . added a .cvsignore file in lib/ so that the directory doesn't get · c25e25c4
      Sam Hocevar authored
         removed whenever one does a cvs update -dP
       . fixed debian/.cvsignore because of a new version of debhelper
      c25e25c4
    • Sam Hocevar's avatar
      . all plugins now compile with -fPIC. · f8da8c95
      Sam Hocevar authored
       . 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.
      f8da8c95
    • Pierre Baillet's avatar
      NoSEGfault Kl�dge added. · b7b3386b
      Pierre Baillet authored
      b7b3386b
    • Benoit Steiner's avatar
      dd3ca6f4
    • Benoit Steiner's avatar
      Optimisation de BinaryLog · a87ecd5c
      Benoit Steiner authored
      a87ecd5c
    • Henri Fallon's avatar
      · a5d3d165
      Henri Fallon authored
      - Order : if a then b are initialized, release b then a ;
      - Typos ;
      - Cosmetic changes.
      a5d3d165
    • Henri Fallon's avatar
      · 393a5d52
      Henri Fallon authored
      - 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
      393a5d52
  10. 06 Jan, 2001 5 commits
    • Benoit Steiner's avatar
      Fixed compilation pb under solaris 2.6 · eb8d4519
      Benoit Steiner authored
      eb8d4519
    • Benoit Steiner's avatar
      Fixed solaris libraries · eed018b6
      Benoit Steiner authored
      eed018b6
    • Sam Hocevar's avatar
      · ffa693e8
      Sam Hocevar authored
       . 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
      ffa693e8
    • Henri Fallon's avatar
      · 4542979c
      Henri Fallon authored
      Fixed a typo than prevented from building ...
      4542979c
    • Henri Fallon's avatar
      · 9385e1d5
      Henri Fallon authored
      Fixed initialization of payload_start and payload_end
      It should be finished now.
      9385e1d5
  11. 05 Jan, 2001 5 commits
    • Christophe Massiot's avatar
      BSD port, including : · 454454b5
      Christophe Massiot authored
      * --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.
      454454b5
    • Sam Hocevar's avatar
      · 6eb6044c
      Sam Hocevar authored
       . 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.
      6eb6044c
    • Sam Hocevar's avatar
      · 2a8ef11d
      Sam Hocevar authored
      (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.
      2a8ef11d
    • Sam Hocevar's avatar
      · a132d75c
      Sam Hocevar authored
       . 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)"
      a132d75c
    • Sam Hocevar's avatar
      · df5793c2
      Sam Hocevar authored
       . splitted modules.h into modules.h and modules_core.h to enable
          clean compilation of the Null Module.
      df5793c2