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

148 Commits

Author SHA1 Message Date
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
Jean-Paul Saman
ed58d07d9b Fix indentation. 2008-06-14 10:09:06 +02:00
Rémi Denis-Courmont
fbb8255dcf Remove __LIBVLC__ test 2008-06-06 19:07:55 +03:00
Pierre d'Herbemont
6f8ce7ca56 input: Use mtime_t for pts_delay. 2008-06-05 23:11:00 +02:00
Rafaël Carré
a095d6b7e6 Do not use a GNU extension in public headers 2008-05-28 01:20:53 +02:00
Rémi Denis-Courmont
9d85c35d50 Fix HAVE_ATTRIBUTE_FORMAT usage - refs #297 2008-05-26 19:58:57 +03:00
Rafaël Carré
7bc28eebe8 meta-data handling cleanup
Remove VLC_META_ENGINE_*
Don't use VLC_META_INFO_CAT
Avoid using input_Item{Add,Get}Info
Remove disabled code in cdda
Remove "meta fetcher":
    There was only 1 module (not) implementing it (musicbrainz)
    Reduces complexity in playlist core
Use a more consistent naming
Factorize QT4 sorting and column display code
Remove unused members
2008-04-23 07:23:18 +02:00
Rafaël Carré
1f26dd3fc7 Remove unused option: b_prefers_tree 2008-04-22 19:51:49 +02: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
Jean-Paul Saman
1ea4a61945 Move ppsz_input_state[] to modules/control/rc.c because it is the only user of this variable. This silences a lot of warning messages. 2008-04-13 18:40:47 +02:00