Laurent Aimar
768bd8a4d8
Split INPUT_EVENT_TIMES into INPUT_EVENT_POSITION/LENGTH.
...
It allows a finer control on what to update (for gui).
2009-05-11 22:17:54 +02:00
Laurent Aimar
80684e7846
Fixed a race condition with input creation and events.
...
input_CreateThread* have been splitted in two functions:
- input_Create
- input_Start
to allow attaching to input events and creating settings/variables
before starting the input thread.
For consistency, input_StopThread has been renamed input_Stop.
Initial report from Hugo Beauzee-Luyssen.
2009-05-08 02:12:39 +02:00
Laurent Aimar
ba4c4c1915
Fixed decoder spacing mode selection.
...
Becarfull it breaks the API by modifying input_DecoderDecode prototype.
(only stream_output display module use it).
2009-04-28 18:59:41 +02:00
Laurent Aimar
4792f4d85e
Modify INPUT_RECORD_PREFIX value (prefer h/m/s over : ).
2009-03-29 14:11:32 +02:00
Laurent Aimar
8236d4c98f
Added a INPUT_EVENT_ABORT event to detect user requested abort.
2009-03-09 20:48:18 +01:00
Laurent Aimar
04ee4c9fb3
Added a ES_OUT_SET_ES_SCRAMBLED_STATE to warn the user about scrambled es.
...
The input variable "program-scrambled" will contain the state for the current
program only. If at least one es is scrambled then the whole program is.
The associated event is INPUT_EVENT_PROGRAM.
If necessary for a better GUI support, we could change it to a list.
2009-03-08 19:30:38 +01:00
Laurent Aimar
d4e9d57d43
Changed "teletext-es" to be a list of teletext spu id.
...
This change is needed to fix teletext support.
2009-02-13 23:07:25 +01:00
Rémi Denis-Courmont
6041152954
Privatize input_Preparse
2009-02-11 23:11:44 +02:00
Rémi Denis-Courmont
491dd4238c
*ahem* typo spotted by Antoine
...
(You get to love va_list type-safety)
2009-01-19 19:36:59 +02:00
Rémi Denis-Courmont
a426e6ab78
input_GetVout and input_GetAout helpers
2009-01-19 18:46:53 +02:00
Laurent Aimar
4d802e182e
Split out input item from include/vlc_input.h.
2009-01-17 18:17:42 +01:00
Laurent Aimar
36edd71568
Renamed input_item_AddOpt to input_item_AddOption.
...
This will force people to use VLC_INPUT_OPTION_TRUSTED flag when they
need it and ease security review.
This commit has no functionnal/security changes.
2009-01-17 18:17:42 +01:00
Laurent Aimar
0051f02857
Privatized p_input->b_can_pace_control.
2009-01-17 12:35:48 +01:00
Laurent Aimar
c63257e2bf
Privatized p_input->i_state.
2009-01-17 12:35:48 +01:00
Laurent Aimar
93acbebb6c
Privatized p_input->i_time.
2009-01-17 12:35:48 +01:00
Laurent Aimar
7ccd46a8a0
Privatized i_pts_delay (input_thread_t).
2009-01-16 21:07:48 +01:00
Laurent Aimar
ab85aafbf4
Added missing const to input_item_SetURI.
2009-01-07 20:29:16 +01:00
Laurent Aimar
ba2c2b69c9
Allows requesting active aout/vout from an input with associated events.
2009-01-05 20:49:15 +01:00
Laurent Aimar
b2efc40a95
Added INPUT_EVENT_DEAD event.
2009-01-05 20:49:11 +01:00
Laurent Aimar
cd728cd06e
Do not use 2 event manager in input.
2008-12-11 23:03:32 +01:00
Laurent Aimar
44a1dd652e
Moved stream record to its own module.
2008-12-09 21:13:03 +01:00
Laurent Aimar
132855ebcf
Fixed input_get_event_manager naming scheme.
2008-12-09 21:13:02 +01:00
Laurent Aimar
e03ea0d7fc
Fixed input_AddSubtitle(s) coherency.
2008-12-09 21:13:02 +01:00
Laurent Aimar
da0ee427cf
Fixed ppsz_input_state in RC after input state changes.
2008-12-09 21:13:01 +01:00
Laurent Aimar
31715344b7
Removed obsolete BUFFERING_S input state.
...
The associated libvlc_MediaPlayerBuffering and libvlc_Buffering value could
probably be removed (not done as I do not know the maintainer opinion).
2008-12-04 22:59:32 +01:00
Laurent Aimar
2d98c228d6
Added a input "cache" variable and INPUT_EVENT_CACHE event.
...
They will allow interfaces to display the current buffering status.
2008-12-04 22:56:11 +01:00
Laurent Aimar
f593c8f08c
Removed unused STOP_S input state.
...
The associated libvlc_MediaPlayerStopped and libvlc_Stopped value could
probably be removed (not done as I do not know the maintainer opinion).
2008-12-04 22:36:37 +01:00
Laurent Aimar
73c96a164d
Fixed input bookmark thread safety, support and event.
2008-12-04 20:34:07 +01:00
Laurent Aimar
4d60f5b6a7
Added a new INPUT_GET_BOOKMARK to allow future safe bookmark.
...
It removes the need of INPUT_GET_BYTE_POSITION/INPUT_SET_BYTE_SIZE which where
not thread safe.
2008-12-04 20:34:06 +01:00
Laurent Aimar
dce5697103
Renamed "seekable" into "can-seek" (for consistency).
2008-11-23 15:43:50 +01:00
Laurent Aimar
fac02ebd89
Removed intf-change-vout/rate-change/stats-change/intf-change.
2008-11-23 15:43:40 +01:00
Laurent Aimar
aa31cdc3ab
Added INPUT_EVENT_TELETEXT.
2008-11-23 14:29:50 +01:00
Laurent Aimar
5a55a58984
Allows audio output users to control vout creation.
...
The input event vout now warns about every vout creation/destruction
due to a decoder.
2008-11-23 13:28:38 +01:00
Laurent Aimar
d6f0bd78c5
Clean up input events.
...
A new variable intf-event has been added.
It supercedes the following variables (they are still present for the
time being):
- intf-change
- intf-change-vout
- rate-change
- stats-change
and allows to have a better knowledge of the change done.
It is documented in vlc_input.h (in progress).
2008-11-22 16:36:43 +01:00
Laurent Aimar
56ba662f7b
Clean up input_item_t functions and usages.
...
It fixes a bunch of missing locks and remove unused functions.
It splits input_internal.h
2008-11-22 16:29:55 +01:00
Laurent Aimar
6d56066a71
Move/clean up input event code to its own file.
...
There is no functionnal changes except a few missing events added.
2008-11-22 16:29:54 +01:00
Jean-Paul Saman
8623a9731e
Allow minimum rate change upto 32/1 in input.
2008-11-21 10:22:47 +01:00
Laurent Aimar
7976ebd1f3
Moved INPUT_CONTROL_FIFO_SIZE to private header.
2008-11-20 19:45:11 +01:00
Jean-Paul Saman
57dda7ffd6
Remove FORWARD_S and BACKWARD_S from input state.
...
The input core does separate playing states for forward or backward direction from the playing state PLAYING_S. If one wants to know in what direction VLC is playing, then he needs to look at the sign value of the "rate" value. Backward playing direction has a negative "rate" value. Forward playing direction has a positive one.
2008-11-20 16:17:45 +01:00
Laurent Aimar
4c247f8af0
Give input_DecoderNew the clock used.
...
No functionnal changes yet.
2008-09-28 03:08:38 +02:00
Laurent Aimar
813a45953e
Added signal-quality/strength input variables for access signal report.
...
They are set to -1 if not specified.
2008-09-28 03:08:36 +02:00
Rémi Denis-Courmont
513a8db0a0
Remove the unsafe input item array
2008-09-20 12:51:18 +03:00
Rémi Denis-Courmont
e3d6b0ba19
GC: thread-safety, and offset independence
2008-09-19 17:27:52 +03:00
Rémi Denis-Courmont
36e37a19e9
Only input uses b_dead
2008-09-14 14:42:23 +03:00
Laurent Aimar
1b025556e3
Added a INPUT_CONTROL_RESTART_ES and use it in video_output.
...
This removes the need for suxor_thread_t.
2008-08-28 14:30:02 +02:00
Laurent Aimar
92a4a5b33b
Do not access to internal p_input sout in input_DecoderNew.
2008-08-26 23:27:57 +02: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
Geoffroy Couprie
6baf831c58
Add tree-view for SD only
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2008-08-22 15:14:01 -07:00
Laurent Aimar
3f5d4a954a
Export input_SplitMRL helper.
2008-08-22 02:24:55 +02:00
Pierre d'Herbemont
7b3f256f61
codecleanup: de-static-inline a bunch of input_item functions.
2008-08-15 00:32:09 +02:00