1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-21 10:51:51 +00:00
mpv/stream
reimar cfe1af72af cache: allow STREAM_CTRL_GET_CURRENT_TIME with cache
Change code to allow STREAM_CTRL_GET_CURRENT_TIME with cache enabled.
Due to that time being from what is currently read into the cache it
is unfortunately somewhat inaccurate and unsmooth, however for streams
that do have stream timestamps it is till a lot better than going by
the demuxer alone.
In particular it fixes bug , when starting a DVD with -chapter
following seeks would be relative to the start of the DVD instead
of the current position.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33605 b3059339-0415-0410-9bf9-f77b7e298cf2
2011-07-06 13:01:07 +03:00
..
freesdp cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
librtsp cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
realrtsp cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
ai_alsa1x.c cleanup: remove more warnings 2011-05-02 00:46:48 +03:00
ai_alsa.c spelling fixes 2010-11-02 04:15:03 +02:00
ai_oss.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
asf_mmst_streaming.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
asf_mmst_streaming.h
asf_streaming.c cleanup: remove more warnings 2011-05-02 00:46:48 +03:00
audio_in.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
audio_in.h
cache2.c cache: allow STREAM_CTRL_GET_CURRENT_TIME with cache 2011-07-06 13:01:07 +03:00
cache2.h terminal output: show cache fill changes in "PAUSED" message 2011-02-15 18:35:34 +02:00
cdd.h stream_cddb: move structs to the file they're used in 2010-11-02 04:11:07 +02:00
cdinfo.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
cookies.c Do not print the "Loading cookie file" message twice. 2010-04-05 19:35:35 +00:00
cookies.h
dvb_tune.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
dvb_tune.h
dvbin.h stream/dvbin.h: Use angular brackets for system #includes. 2010-11-02 04:11:07 +02:00
frequencies.c
frequencies.h
http.c fix compilation with old FFmpeg versions 2011-02-08 19:07:10 +02:00
http.h stream/: delete base64_encode(), use libavutil av_base64_encode() 2010-12-16 05:16:50 +02:00
network.c stream: http: Allow setting custom http header 2011-04-13 03:17:05 +03:00
network.h stream: http: Allow setting custom http header 2011-04-13 03:17:05 +03:00
open.c Simplify code: make open_stream() accept NULL file_format argument 2010-11-02 04:15:48 +02:00
pnm.c cleanup: remove more warnings 2011-05-02 00:46:48 +03:00
pnm.h
pvr.h
rtp.c
rtp.h
stream_bluray.c stream_bluray: implement slave mode compatible controls 2010-11-02 04:14:20 +02:00
stream_cdda.c stream_cdda: work around libcdparanoia caching issues 2011-07-06 09:32:27 +03:00
stream_cddb.c Windows: stream_cddb.c: include <path.h> for MinGW 2011-06-29 10:27:16 +03:00
stream_cue.c stream_cue: Avoid probing empty filename in cue_find_bin() 2011-07-06 08:56:37 +03:00
stream_dvb.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
stream_dvd_common.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
stream_dvd_common.h
stream_dvd.c stream_dvd: fix dvd_get_current_time() 2011-07-06 13:01:07 +03:00
stream_dvd.h options: change -alang and -slang to use string list type 2011-04-20 04:22:42 +03:00
stream_dvdnav.c cosmetics: stream_dvdnav.c: Remove pointless () 2011-07-06 13:01:07 +03:00
stream_dvdnav.h options: change -alang and -slang to use string list type 2011-04-20 04:22:42 +03:00
stream_ffmpeg.c stream: Make stream_write_buffer() check for short writes 2011-04-12 18:23:43 +03:00
stream_file.c stream: Make stream_write_buffer() check for short writes 2011-04-12 18:23:43 +03:00
stream_ftp.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
stream_live555.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
stream_mf.c
stream_nemesi.c
stream_netstream.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
stream_netstream.h stream: Use MSG_NOSIGNAL flag if available for send(). 2010-11-02 04:11:43 +02:00
stream_null.c
stream_pvr.c stream_pvr: Replace <sys/fcntl.h> include by <fcntl.h> 2011-07-06 09:55:33 +03:00
stream_radio.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
stream_radio.h Drop pointless _st suffix from 'struct stream'. 2010-05-27 20:38:25 +00:00
stream_rtp.c
stream_rtsp.c Drop pointless _st suffix from 'struct stream'. 2010-05-27 20:38:25 +00:00
stream_smb.c Merge branch 'mplayer1_changes' 2011-05-02 00:46:03 +03:00
stream_tv.c
stream_udp.c
stream_vcd.c Merge svn changes up to r31033 2010-04-26 18:25:34 +03:00
stream_vstream.c cosmetics: "struct vf_instance* vf" -> "struct vf_instance *vf" 2010-05-29 17:20:44 +03:00
stream.c stream.c: make some stream messages translatable 2011-06-29 11:01:31 +03:00
stream.h stream: show negative seek position value in error message 2011-07-06 09:30:04 +03:00
tcp.c stream/tcp.c: Prefer the use of inet_ntop over inet_ntoa 2010-11-02 04:11:07 +02:00
tcp.h
tv.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
tv.h stream/tv: move new_handle() function from header to tv.c 2010-11-02 04:16:55 +02:00
tvi_bsdbt848.c stream/tv: move new_handle() function from header to tv.c 2010-11-02 04:16:55 +02:00
tvi_def.h stream/tv: move new_handle() function from header to tv.c 2010-11-02 04:16:55 +02:00
tvi_dshow.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
tvi_dshow.h
tvi_dummy.c stream/tv: move new_handle() function from header to tv.c 2010-11-02 04:16:55 +02:00
tvi_v4l2.c stream/tvi_v4l2: Add V4L2 support for OpenBSD (and NetBSD) 2011-06-29 07:23:24 +03:00
tvi_v4l.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
udp.c
udp.h
url.c stream/url.c: escape characters >= 127 in URLs 2011-02-15 18:47:55 +02:00
url.h stream/http: Add support for login/password in http_proxy env variable 2010-12-16 05:19:17 +02:00
vcd_read_darwin.h cleanup: Make vcd_seek_to_track() static in more files 2011-06-29 09:26:00 +03:00
vcd_read_fbsd.h cleanup: Make vcd_seek_to_track() static in more files 2011-06-29 09:26:00 +03:00
vcd_read_os2.h cleanup: Make vcd_seek_to_track() static in more files 2011-06-29 09:26:00 +03:00
vcd_read_win32.h cleanup: Make vcd_seek_to_track() static in more files 2011-06-29 09:26:00 +03:00
vcd_read.h cleanup: remove more warnings 2011-05-02 00:46:48 +03:00