1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00
Commit Graph

223 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
7a53080610 decoder: add input_DecoderFlush() 2015-03-21 18:52:00 +02:00
Rémi Denis-Courmont
f96f02d995 input_DecoderCreate: missing const 2015-02-21 11:05:12 +02:00
Rémi Denis-Courmont
acb7470b52 input: remove useless parameter to input_Stop() 2015-02-05 22:40:42 +02:00
Rémi Denis-Courmont
bdcdf97054 input: merge ABORT and DEAD events 2015-02-05 22:30:36 +02:00
Rémi Denis-Courmont
98682b66af include: fix external compilation (fixes #12355) 2014-10-07 23:21:35 +03:00
Felix Paul Kühne
2fe9c763f0 input: fix warning 2014-05-16 22:34:51 +02:00
Rémi Denis-Courmont
b1ff0c7e29 resource: add input_resource_ResetAout() 2014-03-10 19:19:04 +02:00
Mark Lee
5c0a6cabc3 lib: allow media player volume to be set before playing media
This is based on similar initialisation as is already done in the
playlist_Create() function.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2014-02-26 19:02:33 +02:00
Jean-Paul Saman
d2acb6213e Revert "input core: add status field per elementary stream"
This reverts commit d8199d8cbe.
2014-02-15 22:50:53 +01:00
Jean-Paul Saman
d8199d8cbe input core: add status field per elementary stream
VLC has status reporting on the input state, but not on the output state.
This makes it impossible to know if playback actually started completely from
checking stream status states.

For instance a failed audio output cannot be determined programatically. This
patch adds an extra field per ES (in src/input/es_out.c) to determine the state
of that ES (DISABLE, ENABLED, ERROR).

If CreateDecoder() cannot instantiate an output, then it set p_dec->b_error = true.
This is used to determine what the return value for es_out_GetEsState() should be.
If p_dec->b_error is true, then it returns an ES_OUT_STATE_ES_ERROR to the caller.
Else it returns ES_OUT_STATE_ES_ENABLED or ES_OUT_STATE_ES_DISABLED.

A function 'es_out_GetEsState()' is available to query an input for the state of
the primary audio, video and SPU elementary streams.
2014-02-15 22:45:25 +01:00
Jean-Baptiste Kempf
511888ee37 Show OSD when drag-n-dropping subtitles
And when it was successfully added

Close #8395
2014-02-09 23:57:50 +01:00
Rémi Denis-Courmont
776f719e75 input_CreateFilename: take explicit input thread pointer
This should fix meta-data expansion in LibVLC (i.e. when recording).
2014-01-01 20:55:46 +02:00
Rémi Denis-Courmont
cea762697e access: remove info.i_(update|title|seekpoint) 2013-08-26 22:47:55 +03:00
Rémi Denis-Courmont
49b528cd80 mpeg: implement title/seekpoint controls (refs #8455)
This is intended for VDR directories and Video CDs.
2013-08-26 22:47:52 +03:00
Rémi Denis-Courmont
d2cd2e5d36 input: poll signal level through demux (refs #8456) 2013-08-26 20:28:53 +03:00
Rémi Denis-Courmont
2e42f02431 input: remove write-only INPUT_UPDATE_SIZE 2013-04-17 23:15:55 +03:00
Rémi Denis-Courmont
732c5ed426 input: remove unused INPUT_UPDATE_NONE 2013-04-17 23:13:44 +03:00
Anatoliy Anischovich
23a3b08de9 audio input core: fix wrong parsing of replaygain tags (fix #8174)
Before dictionaries there was a loop, so if-else way was ok, but not now. Also, locale-dependent atof().
Remove unnecessary replaygain stuff from flac demuxer.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2013-03-10 17:19:08 +01:00
Rémi Denis-Courmont
72499a50a3 input: define proper controls for menu navigation 2013-02-01 17:54:34 +02:00
Denis Charmet
c2ae62db37 Allow the demux to update its title list
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2012-12-06 11:40:12 +01:00
Rémi Denis-Courmont
4251a30f52 libvlc: do not depend on input thread to obtain the aout
The aout can exist even if the input thread is stopped. This makes
audio-related functions work in case where they would previously fail.
2012-11-01 18:59:09 +02:00
Frédéric Yhuel
78d846a403 vlc_input: fix a comment
Signed-off-by: Rafaël Carré <funman@videolan.org>
2012-10-31 21:18:47 +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
Tobias Güntner
7df1090ac8 Remove unused struct member
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2011-10-02 20:31:38 +02:00
Rémi Denis-Courmont
453764f6d1 Privatize input_SplitMRL() 2011-09-25 15:56:07 +03:00
Rémi Denis-Courmont
2516061e58 Rename aout_instance_t to audio_output_t 2011-07-25 18:15:57 +03:00
Rémi Denis-Courmont
6e0aabe696 Remove unused INPUT_ADD_OPTION 2011-07-12 18:14:36 +03:00
Francois Cartegnie
f90323146e vlc input control: add INPUT_GET_TITLE_INFO
as we'll need seekpoints for UI: chapters offsets were not sufficient.
2011-07-11 22:15:13 +02:00
Sébastien Escudier
04058ca6fe vlm : call var_DelCallback after input thread is joined.
This reverts vlm callback behaviour before 67b16b1b9f
2011-05-31 13:17:36 +02:00
Sébastien Escudier
0697b6e333 fix input_Close return type 2011-05-25 14:50:22 +02:00
Laurent Aimar
2176bf4234 Added input_Close() helper. 2011-05-22 22:35:59 +02: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
3d6f1d93f0 Unexport input_DecoderNew and input_clock_t
Since input_clock_t cannot be created/used from plugins, the extra
functionality of input_DecoderNew() from the new input_DecodeCreate()
is not interesting in plugins.

(Yes, I know I suck as function names)
2011-04-04 20:27:22 +03:00
Rémi Denis-Courmont
c2a6c69154 input_DecoderCreate: create a decoder w/o input thread
This still requires input resources. But that should not be a problem
as the needed functions are already exposed (for libvlc).

Statistics, subpictures and input events do not work when a decoder is
created in this manner.
2011-04-04 20:21:40 +03:00
Ilkka Ollakka
57766ff347 refactor rate(,-faster,-slower) to playlist
Thisway we don't reset playback rate between items
2010-10-04 21:28:59 +03:00
Ilkka Ollakka
e575df71f5 fix documentation INPUT_GET_VOUTS actually uses size_t* than int* 2010-07-20 15:22:08 +03:00
Rémi Duraffort
5ca3019168 includes: add some more LIBVLC_USED. 2010-07-15 23:44:49 +02:00
Laurent Aimar
a8f019f230 Added a ref count on input_resource_t.
It should fix invalid accesses of input_resource_t using input_GetVout/Aout.
2010-06-17 23:57:02 +02:00
Rémi Duraffort
4a549c8b8d input: constify. 2010-06-12 07:52:59 +02:00
Rémi Denis-Courmont
12256be1f2 Export input_resource_TerminateVout
LibVLC needs it.
2010-06-08 21:04:18 +03:00
Laurent Aimar
211f72ff01 Made object created by input_resource attached to a high level object.
The high level object must at least live as long as the input_resource,
I used playlist, vlm or libvlc_media_player.
 It avoids invalid reparent of the vout, aout and sout on input changes.

 It breaks support for per input options used for creating vout, aout
and sout (:sout= is not impacted). I will fix the vout case.

 It breaks invalid usages of vlc_object_find(INPUT, PARENT) used
at least by :
 - the sout modules describe and display.
 - the sout statistics.
 - the vout splitter change
 - the snapshot vout display.
I will fix the vout related ones.
2010-05-25 20:47:49 +02:00
Rémi Denis-Courmont
552367122c Constify (fixes #1391) 2010-03-09 23:48:58 +02:00
Rémi Denis-Courmont
998ebb85fd input: remove leading underscores 2010-02-07 13:33:50 +02:00
Laurent Aimar
028ea651e5 Extended input_GetPcrSystem to also return the current delay. 2010-02-06 16:24:19 +01:00
Laurent Aimar
68fe87d720 Added INPUT_REPLACE_INFOS and INPUT_MERGE_INFOS. 2010-02-05 23:23:12 +01:00
Laurent Aimar
709d0455ce Added input_GetPcrSystem/input_ModifyPcrSystem. 2010-02-02 21:25:18 +01:00
Laurent Aimar
6a18a30adf Added input_GetEsObjects() to cleanly retreive ES objects (decoder, vout, aout). 2010-01-31 01:39:41 +01:00
Rémi Denis-Courmont
ce67728ae1 Stick b_error to object types that actually use it 2010-01-28 21:19:55 +02:00
Francois Cartegnie
9ae152ce22 fix empty declaration warning 2010-01-18 20:14:47 +02:00