Commit Graph

52 Commits

Author SHA1 Message Date
Rémi Denis-Courmont cc129a71d7 Remove old mail address from sources 2019-09-04 22:11:04 +03:00
Rémi Denis-Courmont 542df0f3ad Use set_callback() where applicable 2019-07-18 18:58:10 +03:00
Steve Lhomme 5363279805 remove the $Id$ in the source code 2019-01-17 12:21:18 +01:00
Steve Lhomme ded62a069f rename VLC_TS_0 to VLC_TICK_0 2018-07-03 07:10:07 +02:00
Francois Cartegnie 10318107ac date_t: always init to TS_INVALID 2018-05-25 11:09:47 +02:00
Rémi Denis-Courmont 5600e4f518 voc: start at VLC_TS_0, not VLC_TS_0 + 1
Bug cargo-culted from wav
2018-05-04 13:25:56 +03:00
Rémi Denis-Courmont 0d12b15074 voc: check ES 2018-05-03 15:25:37 +03:00
Rémi Denis-Courmont 0aae30a796 voc: use vlc_obj_malloc() 2018-05-03 15:25:37 +03:00
Rémi Denis-Courmont 0fb43ae1a3 voc: fix callback init order 2018-05-03 15:25:37 +03:00
Francois Cartegnie 647fb394c7 demux: voc: use VLC_DEMUXER_ 2018-05-03 13:54:29 +02:00
Romain Vimont ff2901aff3 core: remove global *_sys_t typedefs
Do not declare *_sys_t typedefs globally in vlc_common.h. Instead,
declare them locally in each module that provides a definition.

This paves the way to move C++ definitions into anonymous namespaces in
order to respect C++ ODR.

The picture_resource_t and sout_stream_id_sys_t typedefs will be handled
separately, since they require specific additional changes.

See #18033

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-04-30 14:20:50 +02:00
Hugo Beauzée-Luyssen 74b68b0f3b voc: Reject blocks with a 0 samplerate 2018-03-06 16:38:14 +01:00
Rémi Denis-Courmont c2c02e2876 es_out: add type-safe es_out_SetPCR() helper 2017-07-30 20:43:39 +03:00
Rémi Denis-Courmont fd5bcf2037 voc: fix warning 2017-07-24 19:23:12 +03:00
Rémi Denis-Courmont 5a0122f3df voc: fix division by zero
If buf[3] == 0xff, i_channels wraps to 0, and i_rate triggers SIGFPE.
2016-10-28 16:16:11 +03:00
Rémi Denis-Courmont 312d198438 stream: stream_ -> vlc_stream_ 2016-07-21 22:26:57 +03:00
Francois Cartegnie e4f45b4086 demux: voc: handle creative adpcm and a/ulaw
refs samples/A-codecs/CreativeADPCM8bit/
2015-04-15 12:50:39 +02:00
Jean-Baptiste Kempf 0cdf339b90 VOC: remove trailing space 2014-10-27 19:44:44 +01:00
Rémi Denis-Courmont 5270796734 Replace block_New() with block_Alloc() 2012-12-13 23:17:40 +02:00
Jean-Baptiste Kempf fef270581f LGPL
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.
2012-11-13 16:25:56 +01:00
Jean-Baptiste Kempf 83db418123 VOC: avoid division by 0 if number of channel is 0
Reported by Marcin 'Icewall' Noga from Hispasec
2012-04-02 05:22:00 +02:00
Rémi Denis-Courmont ea068351d3 voc: fix skipping of unknown headers (fixes #6437) 2012-03-21 19:10:40 +02:00
Rémi Denis-Courmont 88f6d80d7e voc: remove useless #include 2011-08-07 10:32:06 +03:00
Rémi Denis-Courmont e00e93c3bc Useless vlc_codecs.h includes 2010-04-13 19:29:40 +03:00
Laurent Aimar f587eaf89c Fixed initial timestamp value in VOC demuxer. 2009-12-20 23:23:30 +01:00
Laurent Aimar 724461bdf2 Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable.
There will be some regressions, I used automatic sed replacement with manual
checks but there was a lot to change.
 It's only the first pass.
2009-05-13 21:18:19 +02:00
Rémi Denis-Courmont 0549228196 Remove most stray semi-colons in module descriptions
Those multi-lines are still to be done (it's going to be fun...)
See also 5af4cc854b.
2008-10-29 22:14:26 +02:00
Rémi Denis-Courmont 3561b9b28f Plugins: include vlc_common.h directly instead of vlc/vlc.h 2008-05-31 22:10:30 +03:00
Rémi Denis-Courmont 13ae40b0ef Use gettext_noop() consistently 2008-05-21 20:19:25 +03:00
Rémi Denis-Courmont 27d483e9ef Include vlc_plugin.h as needed 2008-05-08 19:20:21 +03:00
Pierre d'Herbemont 57bbabb5e7 demux: Rename demux2 to demux as demux is no longer existing. 2008-04-14 02:02:23 +02:00
Rémi Denis-Courmont 99fab9089e Don't include config.h from the headers - refs #297.
Missing some cases that I could not test.
Also ffmpeg/chroma.c is locked, so I can but leave it broken.
Fix is for the remaining modules is obvious and the issue is easy to detect.
2008-01-23 21:50:58 +00:00
Rafaël Carré 6ee1e193fd Removes trailing spaces. Removes tabs. 2007-09-10 18:56:52 +00:00
Rémi Denis-Courmont cc74e49c15 Fix warning 2007-08-21 16:41:29 +00:00
Rémi Denis-Courmont 81c5ac29fa Remove stdlib.h 2007-08-20 19:08:22 +00:00
Clément Stenac d3fe7f2879 A bit of headers cleanup
* 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.
2006-11-26 14:20:34 +00:00
Rémi Denis-Courmont 4833d61b40 Fix copyright 2006-04-29 13:30:10 +00:00
Rémi Denis-Courmont 150509ed7b Cosmetic, Fix my name 2006-03-30 13:57:58 +00:00
Christophe Mutricy 0ade81b0eb All: string review (refs: #438) 2006-03-18 02:06:16 +00:00
Antoine Cellerier 2cb472dba0 FSF address change. 2006-01-12 23:10:04 +00:00
Rémi Denis-Courmont f701fe046e Support for VOC block type 8 (closes #142) 2005-07-09 18:54:38 +00:00
Rémi Denis-Courmont fe087a3828 Make Zorglub less unhappy 2005-07-09 06:17:09 +00:00
Rémi Denis-Courmont 85b29bdc28 Copyright fixes
(da big courmischage)
2005-07-08 18:12:44 +00:00
Rémi Denis-Courmont 212212c0d3 Bigger buffer to reduce stuttering 2005-06-25 07:45:57 +00:00
Rémi Denis-Courmont 0b252760f6 - Rounds VOC v1.10 sample rates to usual values (11025, 22050, 44100)
which are supported by aout modules (closes #201)
- Use appropriate values in es format computations
2005-06-21 17:44:06 +00:00
Rémi Denis-Courmont 6e7434a119 - demux with much bigger buffers to avoid performance issue
- fix silences handling
2005-04-15 21:56:14 +00:00
Rémi Denis-Courmont 0adee234a9 Fix my email address 2005-03-13 13:29:45 +00:00
Rémi Denis-Courmont dc2014f8d4 - Fix unitialized variable in demux control helper
There's still a segfault somewhere (occurs after many seeks but I can't reproduce it with a debugger)
2005-03-10 11:19:29 +00:00
Rémi Denis-Courmont 3ec79295e5 Support block type 2 (and some others as well) 2005-03-10 11:00:41 +00:00
Rémi Denis-Courmont 651d773db6 Handle VOC files with multiple blocks properly 2005-03-09 11:54:36 +00:00