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

157 Commits

Author SHA1 Message Date
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
Pierre d'Herbemont
d11fd0d1e5 codecleanup: Replace input_Item by input_item. 2008-08-15 00:32:07 +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
Pierre d'Herbemont
1b6fc30078 input: Export input_GetState(). 2008-08-02 03:49:16 +02:00
Pierre d'Herbemont
f2b2e37c04 input: Expose input_ItemHasErrorWhenReading. 2008-08-01 22:52:49 +02:00
Ilkka Ollakka
81a758a32f use strcasestr in input_MetaMatch too, so search is really case insensitive. 2008-06-27 23:25:19 +03:00
Rémi Denis-Courmont
f8763a6ca1 RC: fix segmentation fault due to input state changes - fixes #1620 2008-06-20 22:21:24 +03:00
Jean-Paul Saman
43a486b582 Make distinction between stop and ended status. 2008-06-15 09:34:07 +02:00
Jean-Paul Saman
a4bb63528c Unify libvlc_state_t, input_state_e, mediacontrol_PlayerStatus and libvlc_event_type_t. 2008-06-14 16:19:23 +02:00
Pierre d'Herbemont
18acd8a0fa input: Add input_get_event_manager(). 2008-06-14 14:16:24 +02:00