1. 24 Jul, 2003 4 commits
  2. 23 Jul, 2003 11 commits
    • Gildas Bazin's avatar
      · 6135b00b
      Gildas Bazin authored
      * modules/misc/freetype.c, modules/demux/util/sub.c: cleanup.
      * modules/demux/util/sub.h: thou shall do a vlc_object_attach().
      * src/misc/variables.c: added VLC_VAR_FILE and VLC_VAR_DIRECTORY inheritance support.
      6135b00b
    • Christophe Massiot's avatar
      f8551ccd
    • Jean-Paul Saman's avatar
    • Gildas Bazin's avatar
      · 4684a91e
      Gildas Bazin 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
    • Derk-Jan Hartman's avatar
      * include/vlc_common.h: MAX_PATH PATH_MAX, we don't wanna bother and use the · 5b165b73
      Derk-Jan Hartman authored
        latter everywhere.
      * modules/demux/util/sub.c: Bring the config options in here to the variable structure.
      * modules/misc/freetype.c: Bring the config options in here to the variable structure.
        Fix the linespacing. Dnumgis, it works, just define another linespacing :)
      5b165b73
    • Eric Petit's avatar
      49913218
    • Olivier Teulière's avatar
      95a8807b
    • Cyril Deguet's avatar
      * all: fixed depcomp failure · 16434951
      Cyril Deguet authored
      16434951
    • Jean-Paul Saman's avatar
      When recv() returns -1 a bug is triggered inside RTPRead() and RTPChoose().... · 986af9f1
      Jean-Paul Saman authored
      When recv() returns -1 a bug is triggered inside RTPRead() and RTPChoose(). The return value of Read() is then -1. The test "if (!i_ret) return 0;" will be false and the function will continue resulting in segfault while copying from buffers that are in an undetermined state. The correct test is "if (i_ret<0) return 0;".
      
      986af9f1
    • Gildas Bazin's avatar
      · 6754c25b
      Gildas Bazin authored
      * modules/misc/sap.c: oops, compilation fix.
      6754c25b
    • Gildas Bazin's avatar
      · eb505a2f
      Gildas Bazin 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
  3. 22 Jul, 2003 6 commits
  4. 21 Jul, 2003 9 commits
  5. 20 Jul, 2003 10 commits