1. 18 Jan, 2018 1 commit
  2. 28 Jul, 2015 1 commit
    • Hugo Beauzée-Luyssen's avatar
      Subtitle renderers: Merge RenderText & RenderHTML · f2e43bd7
      Hugo Beauzée-Luyssen authored
      The current workflow is often parsing a subtitle format, then convert it
      in a common HTML and then push it to the renderer as HTML. The renderer
      will reparse the HTML and try to render it. Of course, that means that
      only one renderer can do that correctly, and so we bloat the freetype
      renderer as much as we can.
      It also means that we have 2 render callbacks for subtitles, one for
      normal text and one for styled text, and we sometimes reparse the HTML
      to remove the tags, for the first.
      
      We now only use a text_segment, with new segments at every style change;
      an unique render function and the renderer can decide to honor or not
      the style.
      
      It's a big commit, so regressions can arise, but it was tested for most
      common cases.
      f2e43bd7
  3. 13 Nov, 2012 1 commit
    • Jean-Baptiste Kempf's avatar
      LGPL · fef27058
      Jean-Baptiste Kempf authored
      Re-license almost all the playback modules to LGPLv2.1+ with
      authorization from their respective contributors (230+)
      
      This includes:
       - access, codec, packetizers, demux
       - audio filters, audio mixers, audio output
       - video filters, video chroma, video output
       - text renderers
       - XML parser
       - ARM NEON and SSE2 optimisations (mostly for chromas and filters)
      
      Some modules are not concerned:
       - BDA and DShow access modules because Manol Manolov is AWOL
       - Real RTSP, because it is derived from Xine
       - x264 and t140 because they are encoders only
       - DLL Loader, because it is derived from MPlayer
       - DTS packetizer, because Jon Lech Johansen is AWOL
       - Shine and WMAfixed, because they are derived from Rockbox
       - Real demuxer, as it is derived from MPlayer and Wang Bo is AWOL
       - MPC demuxer, as Yavor Doganov is AWOL
       - Tivo demuxer, because it is derived from an MPlayer fork
       - Playlist demuxer, (WPL and ZPL parts missing), because suheaven is AWOL
       - iOS audio output and video display, because author refuses the license change
       - Equalizer and compressor, because Ronald Wright is AWOL
       - Mono, Headphone and Dolby, because author refuses the license change
       - hqdn3d and yadif, because they are from MPlayer/libavfilter
       - remoteosd, because it derives from RealVNC code
       - MMX optimisations, because Ollie Lho, from SiS, is AWOL
       - Rotate, because it depends on GPL motion
      
      Nota Bene:
       - Some modules depend on GPL-only libraries, a LGPL module does not mean
         that the resulting binary module will be LGPL.
         Libraries affected would include liba52, libdvdcss, libdvdnav, libdvdread,
         faad2, libdca, libmad, libmpeg2, libpostproc, SRC, sid, zvbi and probably others.
      fef27058
  4. 15 Dec, 2011 1 commit
  5. 04 Aug, 2011 2 commits
  6. 25 Jun, 2011 1 commit
  7. 18 May, 2010 1 commit
  8. 31 May, 2008 1 commit
  9. 08 May, 2008 1 commit
  10. 29 Jan, 2008 1 commit
    • Rafaël Carré's avatar
      misc: fix warnings · 94a67470
      Rafaël Carré authored
          declare unused parameters in callbacks as void
          use size_t
          xml/xtag.c: comment dead code
          freetype: use mdate() instead of time(), remove unused parameter from UnderlineGlyphYUVA()
          notify/growl: factorize NotifyGrowl()
      94a67470
  11. 23 Jan, 2008 1 commit
  12. 13 Mar, 2007 1 commit
  13. 24 Dec, 2006 1 commit
  14. 26 Nov, 2006 1 commit
    • Clément Stenac's avatar
      A bit of headers cleanup · d3fe7f28
      Clément Stenac authored
      * Headers in include must contain the structures and prototypes needed
        by the plugins and should be named vlc_*.
      * Headers in include/vlc must contain the structures and prototypes
        needed by external libvlc clients
      
      * Moved and renamed some things in headers. 
         - Removed vlc_cpu.h, vlc_error.h (merged in vlc_common)
         - Removed snapshot.h (merged in vlc_vout.h)
         - Removed vlc_spu.h (merged in vlc_osd.h)
         - Removed intf_eject.h and vlc_interaction.h (merged in vlc_interface)
         - Moved all internal headers to src
         - Merged vlc_video.h and video_output.h and move private things to src
         - Removed vlc/intf.h, vlc/aout.h, vlc/vout.h, vlc/decoder.h and vlc/input.h
           (meta headers for use in modules, and often implying too large 
           dependencies)
      * Removed some useless dependencies
      * Unexported a bunch of functions and structures used only in src/
        (--> Still some work here)
      * Finally made input_thread_t and input_source_t (mostly) private. 
        Added input_GetItem to fetch the input_item of an input_thread
      * Cleaned up deprecated entries in vlc_symbols.h and bumped up symbol 
        prefix
      
      This commit has a 99% probability of breaking the build, 0.1% of killing
      your cat and 0% of getting you hot chicks.
      d3fe7f28
  15. 12 Jan, 2006 1 commit
  16. 15 Oct, 2005 1 commit
  17. 09 Jul, 2005 1 commit
  18. 08 Jul, 2005 1 commit
  19. 08 Mar, 2005 1 commit
  20. 03 Aug, 2004 1 commit
  21. 02 Jun, 2004 1 commit
    • Yoann Peronneau's avatar
      Support for multiple OSD channels : · 50b65815
      Yoann Peronneau authored
      * added i_channel and i_content properties to subpicture_t
      * p_last_osd_message is no more used
      
      An OSD channel can contain simultaneously an OSD text and an OSD widget.
      
      50b65815
  22. 08 Dec, 2003 1 commit
  23. 07 Dec, 2003 1 commit
  24. 04 Dec, 2003 1 commit
    • Sam Hocevar's avatar
      * modules/misc/dummy/renderer.c: · 3d6ee48d
      Sam Hocevar authored
          + Removed evil ^Ms from the file.
        * modules/video_output/caca.c:
          + Support for new dithering modes (libcaca HEAD only).
        * modules/* src/*:
          + Grammar and spelling fixes.
          + Coding style fixes.
        * po/fr.po:
          + Spelling fixes.
          + Updated a few translations.
        * po/en_GB.po:
          + Updated a few translations.
      3d6ee48d
  25. 14 Jul, 2003 2 commits
    • Sigmund Augdal Helberg's avatar
      had to forget something :) · 362d08e0
      Sigmund Augdal Helberg authored
      362d08e0
    • Sigmund Augdal Helberg's avatar
      All: My shot at improving subtitle rendering in vlc. Now each vout uses a... · 14b3f0cf
      Sigmund Augdal Helberg authored
      All: My shot at improving subtitle rendering in vlc. Now each vout uses a "text renderer" module to render text on the video when needed. I decieded to make this a module type, because other api's (win32 and macosx) is supposed to do better than freetype under some circumstances.
      
      include/video_output.h: added some members needed by text renderer modules
      src/video_output/video_output.c: load and unload text renderer module when needed
      src/video_output/video_text.c: implemented some functions to show text on the video
      include/osd.h: exported the functions to show text
      modules/misc/Modules.am, module/misc/freetype.c: new text renderer module, largly based on the old osdtext module.
      modules/video_filter/Modules.am, modules/video_filter/osd_text.c: removed the osdtext module
      configure.ac: changes "osdtext" to "freetype" some places
      modules/codec/spudec/*: when iconv is available, use it to convert textual subtitles from the encoding given by --sub-encoding to utf8. Use new code to render subtitles
      modules/control/lirc/lirc.c: use new code to give feedback on buttons pressed. untested.
      modules/demux/util/sub.c: remove all traces of the ugly old osdtext module
      modules/misc/dummy/*: added a "text renderer" submodule in the dummy module
      src/misc/modules.c: included osd.h as it seems to be needed to export symbols
      
      
      final notes: you need to give a proper value to --freetype-font. This should be the path to a font file freetype2 can handle (almost any format afaik) with a unicode translation table in it. Windows ttf files will do. In linux at least openoffice distributes some fonts that work. I think macosx and beos also has useable fonts.
      
      14b3f0cf
  26. 23 Mar, 2003 1 commit
    • Sigmund Augdal Helberg's avatar
      modules/video_filter/osd_text.c: A video filter that uses freetpye2 to · b5d99c64
      Sigmund Augdal Helberg authored
      render text on the video
      include/osd.h: some constants useful when interfacing with the osd module
      configure.ac.in: check for freetype2, enabled the osdtext module by default
      Makefile.am: added osd.h, please check that this is correct
      lirc.c: modified to provide feedback when buttons are pressed.
      
      Look at the Feedback() function in lirc.c to see how this module can be used
      b5d99c64
  27. 18 Mar, 2003 1 commit
  28. 29 Aug, 2002 1 commit
  29. 31 Jul, 2002 1 commit
  30. 01 Jun, 2002 2 commits
    • Sam Hocevar's avatar
    • Sam Hocevar's avatar
      * ALL: the first libvlc commit. · 9e3ab283
      Sam Hocevar authored
         As for video output 4, this breaks almost everything, but I'll slowly
        do what remains to be fixed during the weekend.
      
         Changes in vlc:
         ===============
      
        * vlc is now a very small program (20 lines) which uses the libvlc API;
         it is quite simple for the moment but can be extended in the future.
      
        * interfaces, decoders, video outputs, etc. are now almost the same
         objects (yes, I know, this is C++ redone in C) and are structured in
         a tree. More about this later, but basically it allows the following
         nice features:
          - several interfaces
          - several playlists with several outputs
          - input plugins spawning helper interfaces (will be used for DVD menus)
          - anything spawning anything; I swear there are useful uses for this!
      
        * libvlc can be used in other programs; I'm currently writing a Mozilla
         plugin for my employer.
      
         Things currently broken:
         ========================
      
        * most interfaces, most ports
        * the playlist handling (almost finished rewriting this though). This means
         no file can be played from the GUI, you need to use the commandline. This
         also means it segfaults at EOF, when exiting the program, and it sometimes
         refuses to open a file when asked to.
      9e3ab283
  31. 11 Mar, 2002 1 commit
    • Gildas Bazin's avatar
      · 7f583e05
      Gildas Bazin authored
      
      * New GTK configuration interface. This interface is generated dynamically
        at run-time from the configuration data contained in each plugin.
      * config_PutPszVariable and config_GetPszVariable are now thread safe.
      * Few modifications/optimizations to the config module.
      * Got rid of all the _VAR macros in config.h
      
      This is the first version of the GTK configuration interface. There are still
      a few raw corners and a fews things left to do, but it basically does what
      I wanted.
      Constructive comments like it sucks or it smells rotten fish are of course
      very welcome. And if there are GTK gurus out there, please don't hesitate to
      add your touch.
      
      I also started to add usefull comments to the configuration options but I'm not
      really good at this kind of thing so if people want to help, they can finish
      the job. For this look at all the *_LONGTEXT macros at the top of main.c
      
      (PS: Translations will also be appreciated but not right now as the interface
      will likely change again in the few coming days)
      7f583e05
  32. 15 May, 2001 2 commits
    • Stéphane Borel's avatar
      *Bugfixes, cleanings in gtk. · 32ef13cf
      Stéphane Borel authored
      32ef13cf
    • Stéphane Borel's avatar
      *initialization bugfixes in input_dvd · 9530fc9f
      Stéphane Borel authored
      *added a b_stopped flag to interface playlist to have a stop function in
      interface plugins. As a consequence, the playlist no longer loops on end
      but wait for the user to press 'play' or to add another item (gtk/gnome
      interface). I think that other plugins are broken but it shouldn't be
      difficult to repair: just add a 'p_main->p_playlist->b_stopped = 0' in
      play functions and 'p_main->p_playlist->b_stopped = 1' when you have to
      stop.
      
      *Updated gtk interface so that it has the same features as gnome. I
      think I will merge the code so that we don't have to copy and paste each
      change. Only the .glade file would be different.
      9530fc9f
  33. 01 May, 2001 1 commit
    • Sam Hocevar's avatar
      · a70f8bb3
      Sam Hocevar authored
        * Mandatory step for video output IV and the audio output quality
          fix: the output threads are now spawned when a decoder needs one,
          so it can decide the audio frequency or the video window size. Still
          under heavy construction, so don't get too excited at finding bugs
          in it yet.
      
          Note: this change broke the XVideo module, so I made its score much
          lower than before. I suspect xvideo.so had a bug before which only
          appears now. Other video output plugins may be broken as well, but
          again this might be due to old existing bugs showing their ugly head.
      
        * Fixed a few buffer overflows in the Gnome interface.
        * The module bank is now a global variable. The video output bank and
          the audio output bank might follow (when they exist).
        * Coding style and organization fixes to the spdif decoder.
        * autoconf and Makefile changes by Arnaud Gomes-do-Vale
          <arnaud@carrosse.frmug.org>.
      a70f8bb3
  34. 20 Apr, 2001 1 commit
    • Sam Hocevar's avatar
      · 39db76ab
      Sam Hocevar authored
        * Fixed build process when no plugins or no builtins were chosen.
        * Makefile changes to get around MacOS X's brain-damaged gcc.
        * FreeBSD configure and Makefile patches, courtesy of Espen
          Skoglund <esk@ira.uka.de>.
      39db76ab
  35. 15 Apr, 2001 1 commit
    • Sam Hocevar's avatar
      · 6b3c8540
      Sam Hocevar authored
        * Beginning of the built-in modules support.
      
         A few words about the changes:
      
        - heavy Makefile butchery has taken place, each plugin now has its own
          Makefile. I know recursive make blablah harmful, but it was just so
          much easier to do this way.
      
        - Makefile.in has disappeared, we now generate Makefile.opts with
          the overall configuration options, and Makefile.modules which is
          specific to module compilation.
      
        - After ./configure has been run you may want to modify Makefile.opts
          to check which modules will be compiled built-in or as plugins.
      
        - Some modules cannot be compiled built-in right now because proper
          linkage doesn't work yet. We don't really care since they're the
          interface or video output modules. The most important stuff works
          (iDCT, motion, YUV, input).
      
        - It's perfectly valid to compile a module both as built-in and as a
          plugin. vlc will only load the built-in one, but I'll add an option
          to ignore built-in modules for testing purposes.
      
        - We *should* see a performance increase here. I didn't have much time
          to test it, but if anyone can confirm and perhaps give a rough
          estimate of how much we gain...
      6b3c8540
  36. 18 Feb, 2001 1 commit
    • Stéphane Borel's avatar
      -UDF filesystem support so that we know the location of the first video · 8e3c802c
      Stéphane Borel authored
      related file with 100% reliability (great change that should make DVDs
      with binaries and extra stuff work with vlc).
      
      -Correction of a bug in ifo reading that falsified the adress of
      video titles.
      
      -Changed the method for selecting title at start. It is _not_ reliable
      though, but it is better than the preceding one.
      8e3c802c