1. 26 Nov, 2003 1 commit
    • gbazin's avatar
      · f78aa8ea
      gbazin authored
      * src/input/input.c: fixed a whole load of mem leaks when the input is closed before the initialisation is complete (inexistant input, etc...).
      f78aa8ea
  2. 24 Nov, 2003 3 commits
  3. 22 Nov, 2003 2 commits
    • gbazin's avatar
      · bfa286d3
      gbazin authored
      * src/input/input.c: fixed previous fix (sout needs to be destroyed after the ES).
      bfa286d3
    • gbazin's avatar
      · 6ae3f4f4
      gbazin authored
      * src/input/input.c: don't free the ES twice.
      * modules/demux/ogg.c: ported to the es_out_*() api and fixed flac support.
      * modules/codec/flac.c: couple of fixes.
      6ae3f4f4
  4. 21 Nov, 2003 1 commit
    • gbazin's avatar
      · 231d0470
      gbazin authored
      * include/vlc_common.h: include stdlib.h
      * include/ninput.h, src/input/stream.c, src/input/input.c:
          new stream_Block() function to read a block_t from the input.
          es_out_Send() takes a block_t as input, for PES (deprecated) use es_out_SendPES().
      * modules/demux/*: changed to new es_out_Send(). asf.c and avi.c still use es_out_SendPES() though.
      231d0470
  5. 20 Nov, 2003 1 commit
  6. 16 Nov, 2003 2 commits
    • gbazin's avatar
      · aed1e85b
      gbazin authored
      * ALL: moved i_bitrate out of audio_format_t into es_format_t
      aed1e85b
    • gbazin's avatar
      · 1e9f16e2
      gbazin authored
      * ALL: final improvements to the decoders/packetizers api.
         (There are still a few decoders/packetizers left to be converted but this shouldn't take too long).
      * ALL: small improvements to the encoders api.
      1e9f16e2
  7. 13 Nov, 2003 2 commits
  8. 05 Nov, 2003 1 commit
    • gbazin's avatar
      · 48190fd3
      gbazin authored
      * src/input/input.c: honor the --demux config option (will be overriden if demux is specified in the MRL).
         I'm not exactly sure this is wise as some users will surely fuck-up their preferences and force a specific demux...
         but this also allows me to specifiy the demuxdump demux with an input option (very handy to include the demuxdump option in the streamout gui dialogs).
      * src/misc/modules.c: changed module_Need() to use var_Get() instead of config_Get.
      
      * modules/gui/wxwindows/*: moved the demuxdump option from the open dialog to the streamout dialog.
      48190fd3
  9. 04 Nov, 2003 1 commit
    • Laurent Aimar's avatar
      * input: fixed position-offset, time and time-offset. · ea33ac4c
      Laurent Aimar authored
       * hotkeys: never _never_ use  demux_Control outside of src/input/ (it's
       completely broken,  there is a lot  more things to do),  all interfaces
       have  to  use  var_Get/Set  (time(-offset),  position(-offset),  state,
       rate(-slower|-faster)...  ).
       Btw,   input_SetStatus,   input_Seek,   input_Tell,   input_ChangeArea,
       input_ToggleES,  will   be  quickly   obsolete  and   removed(at  least
       unavailable for intf), so we should convert remaining interfaces (ie all
       except wx, osx, rc, http, hotkeys).
      
       * avi: implemented DEMUX_SET_TIME (not yet used).
      ea33ac4c
  10. 29 Oct, 2003 1 commit
    • gbazin's avatar
      · 90973854
      gbazin authored
      * ALL: improved hotkeys support.
      90973854
  11. 22 Oct, 2003 1 commit
    • gbazin's avatar
      · dd9e6708
      gbazin authored
      * configure.ac, modules/codec/Modules.am, modules/codec/speex.c: new speex decoder and packetizer using libspeex.
      * modules/demux/ogg.c: added support for speex to the Ogg demuxer.
      * modules/mux/ogg.c: added support for speex to the Ogg muxer.
      * src/misc/variables.c: when creating choices object variables with inheritance enabled, automatically add the inherited value to the list of choices.
      * modules/access/udp.c: use an object variable and inheritance for "udp-caching".
      * src/input/input.c: disable the hack for filenames with colons on win32 because filenames can't contain colons.
      dd9e6708
  12. 20 Oct, 2003 1 commit
  13. 11 Oct, 2003 1 commit
  14. 08 Oct, 2003 1 commit
    • gbazin's avatar
      · d44f9d26
      gbazin authored
      * include/vlc_codec.h: defines decoders/encoders related structures here.
      * include/vlc_video.h: new video_frame_format_t structure which defines the properties of a video frame.
      * include/vlc/decoder.h: include vlc_codec.h
      * src/misc/objects.c: added VLC_OBJECT_PACKETIZER and VLC_OBJECT_ENCODER object types.
      * modules/stream_out/transcode.c, modules/codec/theora.c: experimental theora video encoder.
      * src/input/*: some cleanup.
      d44f9d26
  15. 30 Sep, 2003 2 commits
  16. 22 Sep, 2003 1 commit
    • hartman's avatar
      * modules/gui/macosx/playlist.?: implemented Save Playlist · 21c4f10c
      hartman authored
      * modules/gui/macosx/output.m: updated part of the Stream output dialog
      * modules/demux/util/sub.c: removed sub_detect() and moved the sub-file and
        sub-autodetect file options to src/input/input.c
      * src/input/input.c: added the moved options and use them to add subtitle
        tracks.
      * src/libvlc.h: description strings etc for sub-file and sub-autodetect-file
      * src/input/subtitles.c: new subtitles_Detect() largely based on the
        code used by MPlayer. Adapted for coding style and structure differences.
      
      The autodetect routine can now detect multiple subtitle files and assigns scores
      based on their names. if they much well enough they are sorted based on their
      score. It will then return this set, and they will all be added as SPU tracks
      to the current stream. The (un)selecting of these tracks will need to be fixed
      because they all get assigned the es id 0xFF currently.
      21c4f10c
  17. 20 Sep, 2003 1 commit
  18. 15 Sep, 2003 1 commit
  19. 13 Sep, 2003 1 commit
    • Laurent Aimar's avatar
      * src/video_output/video_output.c : do not use FIND_ANYWHERE to catch · 0925ed0b
      Laurent Aimar authored
       the playlist.  but use FIND_PARENT. vlc_object_find  with FIND_ANYWHERE
       use p_obj->p_vlc as a starting point  and that doesn't work as playlist
       is  detach from  vlc before  vout is  destroyed by  the decoders  (when
       shutting down)  Perhaps vlc_object_find  should be  fixing to  find the
       root object, but I'm not sure.
      
       * src/input/*  : move  subtitle handling  from avi  to input.  Now subs
       should works with all file types _BUT_ won't be in synch if the demuxer
       doesn't implement a _precise_ DEMUX_GET_TIME.  So only .avi, .mp4 will
       be ok. Others could works if perfectly cbr.
        Now  Subtitle  track is  only  selected  when specified  by  sub-file
       option.(auto-dectected file is always added but not selected by default)
        Btw, the code could support multiple  subs files, but I don't know how
       to pass multiple filenames, any ideas ?
      
      
       * demux/mpeg/mpga.c : play with es_out_t. I'm investigating for now so
       don't use that elsewhere.
      0925ed0b
  20. 12 Sep, 2003 2 commits
  21. 07 Sep, 2003 1 commit
  22. 02 Aug, 2003 1 commit
  23. 23 Jul, 2003 2 commits
    • gbazin's avatar
      · 4684a91e
      gbazin authored
      * include/variables.h, src/misc/variables.c: you can now use var_Create() directly to create an object variable with an inherited value.
         eg. var_Create( p_vout, "zoom", VLC_VAR_FLOAT | VLC_VAR_DOINHERIT );
         Beware, the object in which you create the var must be attached to a parent for this to work (otherwise we can't navigate the parents hierarchy to find the value to inherit).
      
      * src/input/input.c, src/input/input_programs.c, src/video_output/video_output.c: converted more config_GetFoo() into var_Create()/var_Get();
      4684a91e
    • gbazin's avatar
      · eb505a2f
      gbazin authored
      * ALL: changes to the playlist_Add() and VLC_AddTarget() proto to include a list of options associated with the input.
      * src/input/input.c: parses the input options list before spawning the input and create object variables for these options. Options are of the form "[no[-]]foo[=bar]" where foo is the option name and bar is its value.
      * src/input/input.c, src/input/input_dec.c: use the object var api to get the value of the "sout", "sout-video" and "sout-audio" options.
      * src/libvlc.c: extended the command line parser to parse input options. Input options must always follow the input they apply to and begin with a ':'.
      
      All these changes allow you to specify input specific options.
      eg: ./vlc --no-sout-audio yourvideo.mpeg :sout=udp/http::8080 :sout-audio yourvideo2.mpeg
      Here the ":sout" option will only apply to yourvideo.mpeg.
      "--no-sout-audio" will be a global option so will apply to yourvideo2.mpeg but the global behaviour is overriden by ":sout-audio" for yourvideo.mpeg.
      
      TODO: - the interfaces need to be modified to benefit from the new playlist_Add() api.
            - only "sout", "sout-video", "sout-audio" implemented for now. To make it work with other options, we need to get rid of all the config_GetFoo() and replace them with var_Create()/var_Change()/var_Get().
      eb505a2f
  24. 28 Jun, 2003 2 commits
  25. 24 Jun, 2003 1 commit
  26. 22 May, 2003 1 commit
    • gbazin's avatar
      · d3db3640
      gbazin authored
      * src/audio_output/*, src/input/*: fixed the audio desync option. You can use positive as well as negative values.
      d3db3640
  27. 05 May, 2003 1 commit
    • gbazin's avatar
      · cf3c9805
      gbazin authored
      * ALL: removed the old channels server stuff (was deprecated).
      cf3c9805
  28. 30 Mar, 2003 1 commit
  29. 25 Mar, 2003 1 commit
    • gbazin's avatar
      · 92960f7e
      gbazin authored
      * src/input/input.c, src/video_output/video_output.c: when the input thread
         ends, it will also destroy the vout if one was spawned.
      92960f7e
  30. 24 Mar, 2003 1 commit
    • gbazin's avatar
      · 607b74b2
      gbazin authored
      * modules/access/*: pf_read() in access modules is now blocking. We still
         check regularly for p_input->b_die though. Now the demuxers can safely
         assume that pf_read() == 0 means EOF.
      * ALL: got rid of the p_input->b_connected flag.
      * src/input/input_ext-plugins.c, src/input/input.c: fixed the infinite loop
         of "decoder stuck" messages that sometimes happened.
      * src/interface/intf_eject.c, modules/misc/network/ipv4.c: fixed compilation
         warnings.
      607b74b2
  31. 14 Mar, 2003 1 commit