1. 08 Jul, 2017 1 commit
  2. 19 Jun, 2017 1 commit
  3. 09 Feb, 2017 1 commit
    • Thomas Guillem's avatar
      decoder: refactor pf_decode_* callbacks · a8b249bc
      Thomas Guillem authored
      Use only one callback for every decoder types:
      
      int (*pf_decode)(decoder_t *, block_t *p_block);
      
      There is now only one way to send output frames/blocks from a decoder module:
      using decoder_QueueVideo(), decoder_QueueAudio() and decoder_QueueSub()
      functions.
      
      This fixes transcoding not receiving any output when a decoder used
      decoder_Queue*() function.
      
      The pf_packetize callback is kept unchanged. A packetizer shouldn't be
      asynchronous at all (and this simplify the locking for decoder core).
      
      The pf_decode callback returns, for now, only one value: SUCCESS. This will
      allow a module to send more status.
      a8b249bc
  4. 26 Sep, 2016 1 commit
  5. 05 Dec, 2015 1 commit
    • Thomas Guillem's avatar
      decoder: implement pf_flush for all decoders/packetizers · c94f68fe
      Thomas Guillem authored
      For now, a lot of decoder/packetizer are also flushing on
      BLOCK_FLAG_DISCONTINUITY flag. Some others are also flushing on
      BLOCK_FLAG_CORRUPTED flag (omxil, videotoolbox, avcodec audio).
      
      This patch doesn't change the current behavior.
      But maybe we shouldn't flush anymore on DISCONTINUOUS/CORRUPTED.
      c94f68fe
  6. 17 Nov, 2015 1 commit
    • Zhao Zhili's avatar
      CDG: fix seek · 5e9406e7
      Zhao Zhili authored
      The video output is messed up if we only do a stream_Seek(). If we want
      to seeking forward, we should decode and discard pictures to keep the
      decoder at the right state. For seeking backward, seeking to the
      beginning and decode from there. Since the bitrate is very low and the
      decoding process is really simple, there is no obvious delay. I have
      tested this strategy on a dual core ARM board.
      Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
      5e9406e7
  7. 05 Nov, 2015 2 commits
  8. 13 Oct, 2015 4 commits
  9. 30 Nov, 2013 1 commit
  10. 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
  11. 12 Sep, 2011 1 commit
  12. 15 Jan, 2011 1 commit
  13. 11 Jan, 2011 2 commits
    • Rémi Denis-Courmont's avatar
      20be71ae
    • Dan Rosenberg's avatar
      Fix heap overflows in CDG decoder · f9b664ea
      Dan Rosenberg authored
      This patch resolves two heap corruption vulnerabilities in the CDG
      decoder for VLC media player.  In both cases, a failure to properly
      validate indexes into statically-sized arrays on the heap could allow a
      maliciously crafted CDG video to corrupt the heap in a controlled
      manner, potentially leading to code execution.
      
      The patch is against v1.1.5 from vlc git, but this decoder hasn't been
      touched in awhile, so I'd expect it to cleanly apply to older versions.
      I've tested it and confirmed it resolves the heap corruption issues and
      does not break functionality.
      
      (...)
      Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
      f9b664ea
  14. 16 Dec, 2009 1 commit
  15. 07 Dec, 2009 1 commit
  16. 16 May, 2009 1 commit
  17. 13 May, 2009 1 commit
  18. 07 Mar, 2009 1 commit
  19. 13 Dec, 2008 1 commit
  20. 29 Oct, 2008 1 commit
  21. 23 Oct, 2008 1 commit
  22. 31 May, 2008 1 commit
  23. 21 May, 2008 1 commit
  24. 12 May, 2008 1 commit
  25. 08 May, 2008 1 commit
  26. 29 Jan, 2008 1 commit
    • Rafaël Carré's avatar
      codecs & packetizers: fix warnings · 079a1818
      Rafaël Carré authored
          use size_t instead of int to represent sizes
          removes unused parameters from:
              block_BytestreamInit()
              mpeg4_audio/LOASSyncInfo()
              cinepak/cinepak_Getv1()
              speex/SendPacket()
              subsass/ParseColor()
              ffmpeg/postprocess/InitPostproc() & PostprocPict()
              dvbsub/YuvaYuvp() & encode_pixel_line_{2,4,8}bp()
              faad/DoReordering()
      
      vlc_block_helper.h:
          use size_t, removes unused parameter from block_BytestreamInit()
      
      struct filter_t:
          removes unused parameters from pf_picture_link() & pf_picture_unlink()
          
      cmml: fix a segfault (p_item isn't an input item, despite the name) present for some months, proving that nobody did use that code ?
      079a1818
  27. 23 Jan, 2008 1 commit
  28. 28 Sep, 2007 1 commit
    • Laurent Aimar's avatar
      Added CD+G file support: · bc265de2
      Laurent Aimar authored
       - as a standalone file
       - as a kind of subtitle (even if it is a video track).
      CD-G disk are not supported.
      
      Please, report any file incorrectly decoded. (I have 0 sample with
      circular scrolling)
      
      In subtitle_Detect, do not add as a subtitle the file for which we
      are doing the detection.
       (subtitle_Detect("file.sub") returned "file.sub")
      
      bc265de2