1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-24 20:48:52 +02:00
Commit Graph

43 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
6b19c14310 stream_Demux: add getters for position, length and time (refs #3145) 2012-08-21 18:32:52 +03:00
Laurent Aimar
63af7c781f Added stream_BlockRemaining() helper.
It is usefull to load a whole file to memory.
2012-01-07 01:14:03 +01:00
Jean-Baptiste Kempf
36ab287e77 LGPL
Re-license almost all of libVLC and libVLCcore to LGPLv2.1+

This move was authorized by the developers, either:
 - by e-mail,
 - by vote at the VideoLAN Dev Days 2011,
 - on the license website,
 - in a contract, oral or written.
No objection was raised, so far.

The developers agreeing are:
  Justus Piater
  Alexis Ballier
  Alexander Bethke
  Mohammed Adnène Trojette
  Alex Converse
  Alexey Sokolov
  Alexis de Lattre
  Andre Pang
  Anthony Loiseau
  Cyril Deguet
  André Weber
  Boris Dorès
  Brieuc Jeunhomme
  Benjamin Drung
  Hugo Beauzée-Luyssen
  Benoit Steiner
  Benjamin Pracht
  Bernie Purcell
  Przemyslaw Fiala
  Arnaud de Bossoreille de Ribou
  Brad Smith
  Nick Briggs
  Christopher Rath
  Christophe Courtaut
  Christopher Mueller
  Clement Chesnin
  Andres Krapf
  Damien Fouilleul
  David Flynn
  Sebastien Zwickert
  Antoine Cellerier
  Jérôme Decoodt
  Jérome Decoodt
  Dylan Yudaken
  Eduard Babayan
  Eugenio Jarosiewicz
  Elliot Murphy
  Eric Petit
  Erwan Tulou
  Etienne Membrives
  Ludovic Fauvet
  Fabio Ritrovato
  Tobias Güntner
  Jakub Wieczorek
  Frédéric Crozat
  Francois Cartegnie
  Laurent Aimar
  Florian G. Pflug
  Felix Paul Kühne
  Frank Enderle
  Rafaël Carré
  Simon Latapie
  Gildas Bazin
  Geoffroy Couprie
  Julien / Gellule
  Gildas Bazin
  Arnaud Schauly
  Toralf Niebuhr
  Vicente Jimenez Aguilar
  Derk-Jan Hartman
  Henri Fallon
  Ilkka Ollakka
  Olivier Teulière
  Rémi Duraffort
  Jakob Leben
  Jean-Baptiste Kempf
  Jean-Paul Saman
  Jean-Philippe Grimaldi
  Jean-François Massol
  Gaël Hendryckx
  Jakob Leben
  Jean-Marc Dressler
  Jai Menon
  Johan Bilien
  Johann Ransay
  Joris van Rooij
  JP Dinger
  Jean-Philippe André
  Adrien Grand
  Juha Jeronen
  Juho Vähä-Herttua
  Kaarlo Raiha
  Kaarlo Raiha
  Kamil Baldyga
  Keary Griffin
  Ken Self
  KO Myung-Hun
  Pierre Ynard
  Filippo Carone
  Loïc Minier
  Luca Barbato
  Lucas C. Villa Real
  Lukas Durfina
  Adrien Maglo
  Marc Ariberti
  Mark Lee
  Mark Moriarty
  Martin Storsjö
  Christophe Massiot
  Michel Kaempf
  Marian Ďurkovič
  Mirsal Ennaime
  Carlo Calabrò
  Damien Lucas
  Naohiro Koriyama
  Basos G
  Pierre Baillet
  Vincent Penquerc'h
  Olivier Aubert
  Pankaj Yadav
  Paul Corke
  Pierre d'Herbemont
  Philippe Morin
  Antoine Lejeune
  Michael Ploujnikov
  Jean-Marc Dressler
  Michael Hanselmann
  Rafaël Carré
  Ramiro Polla
  Rémi Denis-Courmont
  Renaud Dartus
  Richard Shepherd
  Faustino Osuna
  Arnaud Vallat
  Rob Jonson
  Robert Jedrzejczyk
  Steve Lhomme
  Rocky Bernstein
  Romain Goyet
  Rov Juvano
  Sam Hocevar
  Martin T. H. Sandsmark
  Sebastian Birk
  Sébastien Escudier
  Vincent Seguin
  Fabio Ritrovato
  Sigmund Augdal Helberg
  Casian Andrei
  Srikanth Raju
  Hannes Domani
  Stéphane Borel
  Stephan Krempel
  Stephan Assmus
  Tony Castley
  Pavlov Konstantin
  Eric Petit
  Tanguy Krotoff
  Dennis van Amerongen
  Michel Lespinasse
  Can Wu
  Xavier Marchesini
  Sébastien Toque
  Christophe Mutricy
  Yoann Peronneau
  Yohann Martineau
  Yuval Tze
  Scott Caudle
  Clément Stenac

It is possible, that some minor piece of code was badly tracked, for
some reasons (SVN, mainly) or that some small developers did not answer.
However, as an "œuvre collective", defined as in "CPI 113-2 alinéa 3",
and seeing "Cour. Cass. 17 Mai 1978", and seeing that the editor and
the very vast majority of developers have agreed (> 99.99% of the code,
> 99% of developers), we are fine here.
2011-11-27 22:54:33 +01:00
Rémi Denis-Courmont
6f258887aa Replace VLC_EXPORT macro with a simple prefix, VLC_API
This should help Doxygen parse VLC headers, and generally makes headers
easier to read. LibVLC already uses a similar approach.
2011-05-07 18:43:51 +03:00
Pierre Ynard
28c4cb7455 Fix spelling: an URL -> a URL
U counts as a consonant when pronounced that way
2011-04-03 21:53:49 +02:00
Jean-Paul Saman
87a2d70001 stream_filter core: add procotol information to stream_t
In addition to p_access->psz_location also add p_access->psz_access to the contructed
stream_t *. It will allow a stream_filter to determine the protocol used in case it was
constructed with an access input.
2010-11-02 09:45:26 +01:00
Antoine Cellerier
456b635ea0 Remove trailing spaces. 2010-02-13 16:40:46 +01:00
Rémi Denis-Courmont
5a079f61a4 stream: remove leading underscores 2010-02-07 13:33:51 +02:00
Rémi Denis-Courmont
ce67728ae1 Stick b_error to object types that actually use it 2010-01-28 21:19:55 +02:00
Laurent Aimar
a463d9bd0e Made stream_t size and position unsigned.
It fixes segfaults in src/input/stream.c (at least) when demuxers
overflow int64_t seek position, and avoid testing for negative values
everywhere.
 stream_Tell() and stream_Size() still returns signed values as too much code
depend on it.
2010-01-22 00:18:34 +01:00
Jean-Philippe André
cf168e78fd Stream: Export stream_FilterNew 2009-12-19 18:56:39 +01:00
Pierre d'Herbemont
0d1f966a0b Implement access_GetParentInput and demux_GetParentInput and use.
This try to avoid vlc_object_find() as much as possible.
This is conservative, because where there is no associated parent input, we'll try to find in certain cases the parent input. This will probably be
 removed later on. Because yes, there is not necessarily a parent input for access and demux, especially if created from stream_UrlNew().
2009-08-21 12:33:56 +02:00
Laurent Aimar
9f052b2bd2 Added path information in stream_t. 2009-01-25 17:46:10 +01:00
Laurent Aimar
be19f7facc Removed useless ACCESS_GET_MTU/STREAM_GET_MTU. 2009-01-20 22:28:47 +01:00
Laurent Aimar
584da50459 Support for auto and user requested stream_filter. 2008-12-09 21:13:03 +01:00
Laurent Aimar
02dc7efea8 Removed useless stream_DemuxDelete.
Use stream_Delete instead.
2008-12-09 21:13:03 +01:00
Laurent Aimar
2b3f7c579b Prepare for stream filter. 2008-12-09 21:13:03 +01:00
Laurent Aimar
aa407ea9ca Added record support at the stream_t level in core.
The record access_filter will become useless as soon as all demuxers that can
support it will be modified.
The record support is half done. I will also add es_out_t record functionnalities,
and a way to selected one of them if both are supported.
2008-08-26 23:27:56 +02:00
Jean-Paul Saman
ebd800345f Add a bunch of \file doxygen comments 2008-08-13 22:22:58 +08:00
Rémi Denis-Courmont
c0f4bfc5d8 Headers: use non-reserved identifiers for multi-inclusion protection 2008-08-11 19:34:48 +03:00
Rémi Denis-Courmont
fbb8255dcf Remove __LIBVLC__ test 2008-06-06 19:07:55 +03:00
Pierre d'Herbemont
449fd28aaf Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.
This improves readability a lot and prevent us from reinventing the wheel.
2008-04-14 02:02:22 +02:00
Rémi Denis-Courmont
e3e9c13799 Pass content-type from access to stream 2007-10-02 16:05:13 +00:00
Rafaël Carré
6ee1e193fd Removes trailing spaces. Removes tabs. 2007-09-10 18:56:52 +00:00
Rémi Denis-Courmont
40785cad48 Make stream_Peek take a const pointer as it should
(This introduces a lot of warnings)
2007-07-20 14:22:54 +00:00
Antoine Cellerier
f397fdb667 * vlc_stream.h: Don't export stream_ReadLine() twice. 2007-05-15 15:09:40 +00:00
Rémi Denis-Courmont
9b6b0df36a Uuinline functions and hide stream_t (it's not used in any module anyway) 2007-04-18 18:55:19 +00:00
Rémi Denis-Courmont
bbd9d31500 typo 2007-04-18 17:25:37 +00:00
Clément Stenac
fbf4c8060d A bit of vlc/libvlc cleanup:
* libvlc sources and plugins now define __LIBVLC__ and headers exported to
  plugins (ie, include/vlc_*.h) check for this
* libvlc sources use the value of the "libvlc" component in vlc-config instead
  of vlc
* Apply flags directly to "libvlc" in configure.ac - might temporarily break win32 :)
2006-12-03 13:48:21 +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
89136d0144 Add a few harmless const 2006-11-06 17:58:08 +00:00
Antoine Cellerier
2cb472dba0 FSF address change. 2006-01-12 23:10:04 +00:00
Clément Stenac
dc09f863f9 Remove unused structures from vlc_common.h
Minor headers cleanup
2005-12-15 11:37:45 +00:00
Derk-Jan Hartman
a5e04c86eb * UTF16 and UTF32 conversion to UTF8 for stream_ReadLine(). (fixes #304) 2005-12-10 23:47:34 +00:00
Steve Lhomme
4ff2a9a24f * prevent crashes when a stream is not opened correctly 2005-09-03 15:55:52 +00:00
Clément Stenac
39cc95b625 Fix a few warnings 2005-08-15 14:57:02 +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
Cyril Deguet
9e9b39ff56 * vlc_stream.h: added missing extern "C" (prevented compilation of skins2
module in builtin mode)
2005-05-01 15:17:40 +00:00
Sigmund Augdal Helberg
9957b2285c fixed a few problems with stream_UrlNew 2005-04-01 22:23:22 +00:00
Sigmund Augdal Helberg
2d16a40839 added a stream_UrlNew to open a general purpos stream_t from a url.
added a pf_destroy to stream_t, changed all various stream_FooDestroy to
stream_Delete
2005-04-01 18:37:31 +00:00
Sigmund Augdal Helberg
efc525bf53 all: new stream_t reading from a buffer. 2004-11-26 23:52:42 +00:00
Laurent Aimar
0a77085121 * vlc_stream.h : oops again. 2004-06-22 20:09:22 +00:00