1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00
Commit Graph

67 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
84ec386904 sdp: use vlc_memstream 2017-02-25 13:14:01 +02:00
Steve Lhomme
2244a1d7c2 sout: existing code assumes ACCESS_OUT_CAN_SEEK is false on failure
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2016-05-09 18:23:29 +02:00
Steve Lhomme
aa505e2cc6 stream_output: handle Flushing via sout_MuxFlush()
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2015-12-22 14:39:44 +01:00
Steve Lhomme
ecacf6f0dd stream_output: add sout_InputFlush()
when seeking during stream output we need to be able to flush internal buffers

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2015-12-22 14:39:44 +01:00
Steve Lhomme
d3db4b7fd3 stream_output: query the stream output to know when the decoder is really empty
similar to vout_IsEmpty() for stream output

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2015-12-22 14:39:44 +01:00
Steve Lhomme
c2cd03e210 fix code spacing in vlc_sout.h
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-12-18 11:52:32 +01:00
Steve Lhomme
d03be6c00b sout: we don't modify the chain string
without the const passing a std::string.c_str() in C++ fails

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-11-26 18:11:46 +01:00
Steve Lhomme
0809eab867 sout: fix documentation
the default value for sout-mux-caching is 1.5s

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-11-12 12:55:51 +01:00
Rémi Denis-Courmont
aee51fec5a include: add/fix more Doxygen groups 2015-06-14 23:25:38 +03:00
Rémi Denis-Courmont
ec0c77b995 mux: remove return value from sout_mux_t.pf_delstream
This is always VLC_SUCCESS anyway.
2015-02-21 12:23:42 +02:00
Rémi Denis-Courmont
21dfee9de8 sout: constify format parameter to sout_stream_t.pf_add 2015-02-21 12:19:14 +02:00
Rémi Denis-Courmont
862771a804 mux: constify stream format 2015-02-21 12:19:10 +02:00
Rémi Denis-Courmont
f5235164c5 sout: voidify sout_stream_t.pf_del
This is always VLC_SUCCESS, or a forwarded value. Ultimately, the
value was (rightfully) ignored by the stream output core.
2015-02-21 00:35:19 +02:00
Rémi Denis-Courmont
22e8f158aa sout_MuxGetStream: fix prototype, sign warning 2014-11-15 12:54:21 +02:00
Rémi Denis-Courmont
97a9763b72 sap: remove bogus error return 2014-06-20 20:01:15 +03:00
Jean-Paul Saman
0f44a068ca sout: report muxer errors back 2014-02-15 18:36:53 +01:00
Rafaël Carré
5069e3d7eb s/sout_stream_id_t/sout_stream_id_sys_t/
All our private context end in sys_t
Do the same for elementary stream specific context inside sout modules
2014-02-15 16:03:01 +01:00
Steinar H. Gunderson
d14b735f2b access_out: add CAN_SEEK control
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2013-08-18 22:01:07 +03:00
Pierre Ynard
3d3db0e575 Fix typo in comment 2012-10-22 02:46:02 +02:00
Rémi Denis-Courmont
893fb2e252 sout: mostly fix and clean up pace control setting
Still transcode and ES are broken.
2012-10-18 21:09:02 +03:00
Rémi Denis-Courmont
f33e3e4b75 sout: remove unused sout_input_t.p_sout 2012-10-06 21:20:27 +03:00
Rémi Denis-Courmont
9346a54290 stream output: remove nul/unused object members 2012-10-06 17:09:13 +03:00
Pere Orga
9abcaacf83 fix filename self-references
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-12-15 17:09:31 +02: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
45334e6f79 Include <sys/types.h> from <vlc_sout.h> 2011-10-19 22:39:59 +03:00
Rémi Denis-Courmont
e499bd76d6 Typo 2011-06-11 22:34:23 +03:00
Rémi Denis-Courmont
92f1b3aee7 Rename LIBVLC_* function attributes to VLC_* within plugin API 2011-05-07 23:08:28 +03: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
Rémi Denis-Courmont
de064a4cd3 sout: remove broken statistics code
The sout instance is _not_ a child of the input, so this cannot work.
In practice, finding the input would always fail.
2011-03-29 13:23:41 +03:00
Rémi Denis-Courmont
677f45decd Remove unused factory pattern for SDP announces 2011-01-12 23:40:57 +02:00
Pierre Ynard
48029873dd vlm: make proper use of semaphore 2010-11-26 03:23:53 +01:00
Pierre Ynard
ca29b79fee description: don't use vlc_object_find()
If you want to use #description, you need to set up the appropriate
struct on pass it down as a variable
2010-11-25 18:09:30 +01:00
Rémi Denis-Courmont
e8da701b61 Do not redefine standard types 2010-11-06 13:18:34 +02:00
Rémi Duraffort
502a2fa805 includes: add some LIBVLC_USED. 2010-08-03 21:19:29 +02:00
Rafaël Carré
1743aae3ec sout: allow duplicate outputs to be merged
The stream_out_t chain creation is modified: all modules are created by
the core (or by stream_out_duplicate) instead of being created by the
previous module.

sout_StreamChain{New,Delete} replace sout_Stream{New,Delete} to handle
modules chains instead of individual modules

sout_Stream{New,Delete} are still used by those new functions but made
static inside stream_output.c

Remove now unneeded psz_chain from struct sout_instance_t
Replace pointer to chain of next module by pointer to next module in
struct sout_stream_t

Example use:

vlc --sout-all input.mp4 --sout
"#duplicate{dst=transcode{vcodec=mp2v},select=es=0,dst=transcode,select=es=1}:std{...}"

(dst=transcode without acodec/vcodec is a hack to pass the encoded stream to
stream_out_standard without transcoding)
2010-01-17 07:37:33 +01:00
Rafaël Carré
17b5ee09d8 move MuxGetStream() to libvlccore, bump plugin ABI 2009-12-08 12:37:49 +01:00
Rémi Duraffort
0ee587bc62 sout_MuxNew: constify. 2009-10-15 15:00:42 +02:00
Rémi Denis-Courmont
0d646a30d2 sout_EncoderCreate: create an encoder module
Perhaps we should turn it into ...New() and do more than just allocate
the object.
2009-01-19 21:14:37 +02:00
Rémi Denis-Courmont
7c97b0295e SAP does needs an object, not specifically a stream instance 2008-10-22 21:15:48 +03:00
Rémi Denis-Courmont
6e9df1a625 sout_AccessOutNew: allow any VLC object type, not just sout instance 2008-08-29 18:55:58 +03:00
Rémi Denis-Courmont
631a4861be Make access_out independent of sout instance 2008-08-29 18:54:06 +03:00
Rémi Denis-Courmont
c8a5be75a5 Add ACCESS_OUT_CAN_CONTROL_PACE, fix AccessOutControl prototype
(My fault - fortunately, sout_AccessOutControl was unused)
2008-08-29 18:54:02 +03: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
Rémi Denis-Courmont
9d85c35d50 Fix HAVE_ATTRIBUTE_FORMAT usage - refs #297 2008-05-26 19:58:57 +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
Rafaël Carré
c76522a3f0 sout_AnnounceRegisterSDP(): removes unused SOUT_CFG_PREFIX argument 2008-01-28 16:57:42 +00:00
Rémi Denis-Courmont
6b822f38be Use (s)size_t for pf_read and pf_write.
This is very likely to break .*64 platforms.
2007-12-09 17:39:28 +00:00
Laurent Aimar
e7d9e5601f Added sout_UpdateStatistic and fixed transcode module to use it.
As a side effect, it fixed a potential segfault (race condition) when using
sout-keep (but I am not sure if we have a stream_out module that can show the
problem)

 sout_UpdateStatistic still uses input internal data and that need to
be fixed. Audio output need such a clean too.
2007-10-20 23:22:48 +00:00