1. 14 Nov, 2002 3 commits
    • Christophe Massiot's avatar
      Major change of the channels management. p_format->i_channels disappeares · 8928554e
      Christophe Massiot authored
      and is replaced by two members : i_physical_channels and i_original_channels.
      i_physical_channels describes the channels which are effectively present
      in the stream (at the current point of the aout pipeline), whereas
      i_original_channels represents the channels we used to constitute the
      stream. For instance a mono stream (FRONT_CENTER) may emanate from a
      FRONT_LEFT channel of a STEREO stream.
      
      Additionally, this contains hooks to dynamically select the audio device
      and the channels configuration. In order to do that, all aout plugins,
      and all interface plug-ins need to be adapted. Currently only SDL
      (partially OSS) and the rc interface have been adapted, please use them
      as a guide. Other aout plug-ins have been temporarily disabled.
      
      IMPORTANT : if you need a working sound output, DO NOT UPDATE YOUR TREE
      for several days until we fix that.
      
      * modules/misc/network/ipv4.c: Fixed a long-standing segfault when saving
        preferences and asking for multicast.
      8928554e
    • Laurent Aimar's avatar
      mms.c: it takes care of --no-audio and --no-video (to reduce bandwith · f5bc3cd8
      Laurent Aimar authored
      usage),  and should not use more than --mms-maxbitrate (when there
      are multiple audio or video streams).
      f5bc3cd8
    • Laurent Aimar's avatar
      asf/* : Convert all u* into uint*_t · 6cd56a27
      Laurent Aimar authored
               Fix playing of some live asf, seek improvement (at least for me ;)
      but it's more some "kludge" with vlc clock than true fixes ...
      
       I will never understand how vlc clock works ....
      6cd56a27
  2. 13 Nov, 2002 5 commits
  3. 12 Nov, 2002 5 commits
    • sigmunau's avatar
      added a new demux that reads .m3u files and addes the contained items to · 669c88b5
      sigmunau authored
      the playlist. Currently only autodetects files that start with #EXTM3U
      otherwise you'll have to force it.
      669c88b5
    • gbazin's avatar
      · 90fe4445
      gbazin authored
      * modules/gui/gtk/gtk_callbacks.c: fixed deadlocks.
      * modules/gui/gtk/gtk.c: fixed uninitialized variables.
      90fe4445
    • Sam Hocevar's avatar
      * ./Makefile.am: fixed rc compilation under mingw32/cygwin. · df7cbb74
      Sam Hocevar authored
        * ./modules/access/http.c: fixed a segfault (unchecked strstr return value).
        * ./src/input/input_ext-plugins.c: removed platform-specific code and put
          it in plugins. This leads to some code duplication but I have an evil
          plan to get rid of that, too.
      df7cbb74
    • gbazin's avatar
      · 901789ff
      gbazin authored
      * modules/gui/gtk/gtk.c: small bug-fix for a crash on module loading.
      901789ff
    • Laurent Aimar's avatar
      * modules/demux/asf/.cvsignore : put the good one. · 5813fcd8
      Laurent Aimar authored
       * modules/access/mms : add MMS (Microsoft Media Streaming) access (Support
      only TCP, I will try to add UDP and HTTP as well).
       There are some problems with streams selections and we cannot seek, but
      anyway it seems to work. (Usefull for some radio web)
       * other: enable mms access by default.
      5813fcd8
  4. 11 Nov, 2002 2 commits
    • gbazin's avatar
      · c0e8ae07
      gbazin authored
      * src/audio_output/filters.c, src/audio_output/input.c, include/aout_internal.h,
         modules/audio_filter/resampler/*: Changes that allow the resamplers to set
         the start and end date of the frame it outputs.
         This allows us for instance to output a smaller frame than what we should, and
         keep the rest of the data to compute the resampling of the next frame.
         In short, we can implement much more complex resampling algorithms than before.
      
      * modules/audio_filter/resampler/linear.c: rewrote the linear resampler. The audio
         quality doesn't seem to be better than the ugly resampler, maybe I shouldn't
         have wasted my time on this...
      c0e8ae07
    • gbazin's avatar
      · 255b41ac
      gbazin authored
      * modules/audio_output/file.c: will write a WAV header by default. Can be
         disabled with --no-audiofile-wav.
      * modules/audio_filter/resampler/linear.c: disabled for now, until I actually
         manage to make it work without a problem.
      255b41ac
  5. 10 Nov, 2002 5 commits
  6. 08 Nov, 2002 2 commits
    • gbazin's avatar
      · 3c60cbd6
      gbazin authored
      * configure.ac.in, modules/audio_filter/converter/*: added a s8tofloat32.c and
         u8tofloat32.c converter.
      * modules/codec/araw.c: modified to also decode u8 pcm audio samples.
      3c60cbd6
    • gbazin's avatar
      · d532cf3c
      gbazin authored
      * ALL: using "%ll" in printf format strings is not portable (notably on win32) so
         we now use the I64Fx familly of macros to print 64 bits numbers (x being
         replaced by d,i,o,u,x or X).
         eg: msg_Dbg( p_this, "sample is "I64Fi" late", ll_time );
      
      * src/misc/messages.c: got rid of ConvertPrintfFormatString().
      d532cf3c
  7. 07 Nov, 2002 2 commits
  8. 06 Nov, 2002 5 commits
    • gbazin's avatar
      · 85071f34
      gbazin authored
      * modules/codec/spudec/*: modified the spu decoder to handle text subtitles.
         Only one format of text subtitles is supported right now but we should be able
         to expand this by modifying modules/codec/spudec/text.c.
         Most of this work comes from by Andrew Flintham ( thanks a bunch Andrew :).
      
      * share/font-eutopiabold36.rle: new font for the text subtitler, courtesy of
         Andrew Flintham.
      
      * AUTHORS: added Andrew Flintham to the authors file.
      
      * modules/demux/ogg.c: modified the ogg demuxer to handle subtitles.
      
      * modules/codec/ffmpeg/*: modified the ffmpeg decoder to always keep the last decoded
         frame linked.
      85071f34
    • Sam Hocevar's avatar
      * ./modules/access/dvdplay/access.c: activated button highlighting. · 8b09b55d
      Sam Hocevar authored
        * ./modules/codec/spudec/parse.c: implemented subtitle cropping and
          temporarily disabled subtitle cropping.
        * ./modules/codec/spudec/render.c: split RenderSPU into chroma-specific
          functions.
      8b09b55d
    • Johan Bilien's avatar
      * modules/access/vcd/vcd.*: added entry points support (sort of · 2401b662
      Johan Bilien authored
          chapters).
        * modules/gui/gtk/gtk_callbacks.c: added some locks to the
          navigation functions
      2401b662
    • Sam Hocevar's avatar
      * ./modules/demux/avi/avi.c, ./modules/demux/avi/libavi.c: additional · 93160b29
      Sam Hocevar authored
          endianness fixes, spelling fixes, reworked return values usage, used
          C99 types.
      93160b29
    • Sam Hocevar's avatar
      * ./src/misc/extras.c: removed a duplicate calculation inside a macro. · 4910755e
      Sam Hocevar authored
        * ./src/libvlc.c: fixed a bug causing all commandline targets to be ignored
          for playback except the last one.
        * ./modules/codec/dv.c: we detach p_vout before quitting.
        * ./modules/codec/xvid.c: fixed image corruption, added a direct rendering
          option which doesn't work yet.
      4910755e
  9. 05 Nov, 2002 7 commits
    • gbazin's avatar
      · 7358af1b
      gbazin authored
      * modules/demux/avi/*: should theoretically fix the endianness issues with
         the avi demuxer.
      7358af1b
    • Sam Hocevar's avatar
      * ./modules/codec/xvid.c: beginning of a video decoder using the Xvid codec · 281b9bb4
      Sam Hocevar authored
          from xvid.org; compile with --enable-xvid --with-xvid-tree=..., run with
          --codec xvid,any (the priority is lower than ffmpeg's for the now).
      
          todo list: direct rendering, better buffer handling, see why only I frames
                     are rendered OK here... probably more.
      281b9bb4
    • gbazin's avatar
      · be822ed6
      gbazin authored
      * modules/demux/ogg.c: should theoretically work on Big Endian machines now.
      be822ed6
    • gbazin's avatar
      · 51f7848f
      gbazin authored
      * All: moved the check for "video" and "audio" config variables to
         input_SelectES(). That allows --no-video and --no-audio to automagically
         work for all demuxers.
      51f7848f
    • Sam Hocevar's avatar
      * ./codec/dv/dv.c: moved this single file to its parent directory; removed · ec166301
      Sam Hocevar authored
          GetFirstPES in favour of input_ExtractPES/input_DeletePES calls.
      ec166301
    • gbazin's avatar
      · 3e017c26
      gbazin authored
      * modules/codec/ffmpeg/*: modified the ffmpeg video codec to use direct
         rendering when possible.
         Use BITMAPINFOHEADER from include/codecs.h + got rid of Little Endian
         translations that were already done in the demux.
      * modules/demux/avi/* modules/demux/asf/*: Use BITMAPINFOHEADER from
         include/codecs.h.
      3e017c26
    • Jon Lech Johansen's avatar
  10. 03 Nov, 2002 2 commits
    • gbazin's avatar
      · c0a5c212
      gbazin authored
      * include/codecs.h: new header file to store information shared by decoders
         and demuxers, like the BITMAPINFOHEADER structure for instance.
      * modules/demux/ogg.c: the ogg demuxer should now work nicely with ogm files
         (including for the video). It has only been tested with a few streams
         produced with dvd::rip and ogmmerge though.
      c0a5c212
    • gbazin's avatar
      · ce1815eb
      gbazin authored
      * modules/demux/ogg.c: we now correctly handle multiple vorbis logical streams
         in ogm files.
      * modules/codec/vorbis.c: small bugfix.
      ce1815eb
  11. 02 Nov, 2002 2 commits
    • gbazin's avatar
      · a9ba6193
      gbazin authored
      * modules/demux/ogg.c: small fix to avoid crashing when find unknown codecs.
      a9ba6193
    • gbazin's avatar
      · f5a90887
      gbazin authored
      * modules/demux/ogg.c, modules/codec/vorbis.c: seeking in an ogg stream is
         working fine now, + misc other improvements.
      f5a90887