1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-18 13:47:04 +00:00
mpv/libmpdemux
albeu a059a420e9 Fix seeking with cache enabled on systems using fork().
The first data connection was opened at open time which
happend in the main process. This prevented properly closing
the connection on later seeks as they happend in the child
process and the fd was still open in the parent process.
The fix delay opening the data connection upon the first
fill_buffer/seek.
Also remove some code duplication, add a timeout on read
from the control connection and a few other small fixes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17855 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-13 16:56:10 +00:00
..
realrtsp Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
.cvsignore
ai_alsa1x.c changes from MSGTR_MPDEMUX_AIALSA1X_* to MSGTR_MPDEMUX_AIALSA_* since they are the same messages 2005-11-05 00:48:43 +00:00
ai_alsa.c libmpdemux translatables to help_mp part 1 / mp_msg calls / try 2 2005-10-31 23:37:41 +00:00
ai_oss.c libmpdemux translatables to help_mp part 1 / mp_msg calls / try 2 2005-10-31 23:37:41 +00:00
asf_mmst_streaming.c Fix bugs/crash introduced by translation patch 2005-11-06 15:25:08 +00:00
asf_streaming.c Fix compilation error introduced by last commit 2006-03-12 22:29:27 +00:00
asf.h
asfheader.c libmpdemux translatables to help_mp part 1 / mp_msg calls / try 2 2005-10-31 23:37:41 +00:00
audio_in.c libmpdemux translatables to help_mp part 1 / mp_msg calls / try 2 2005-10-31 23:37:41 +00:00
audio_in.h
aviheader.c fix -idx with ODML files (patch by Benjamin Zores < ben _at_ tutuxclan.org >) 2006-02-09 00:40:35 +00:00
aviheader.h consistency/tcc support patch by Oded Shimon 2005-07-03 12:49:23 +00:00
aviprint.c Use PRI?64 defines as format strings for 64 bit variables. 2005-10-13 18:33:56 +00:00
bswap.h
cache2.c 1l - one cast too many 2006-01-14 04:09:48 +00:00
cdd.h make it optionally possible to compile MPlayer with libcdio instead of libcdparanoia 2005-11-06 17:42:20 +00:00
cdda.c Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
cddb.c Cygwin compilation fix 2006-01-20 22:44:12 +00:00
cdinfo.c [TRIVIAL] More translatables to help_mp and printfs to mp_msg on libmpdemux 2005-11-10 21:33:12 +00:00
config.h
cookies.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
cookies.h
cue_read.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
cue_read.h ported cue:// to the new stream api; note: this stream must still be optimized in its read() and seek() functions 2005-05-15 07:38:42 +00:00
demux_aac.c fix minor (i.e. unlikely to ever happen) leak when init fails 2006-03-09 22:11:39 +00:00
demux_asf.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_audio.c fix leak on read error (forgot to free demux packet) 2006-03-09 22:14:34 +00:00
demux_avi.c dwStart support for mplayer. 2006-02-18 09:26:39 +00:00
demux_avs.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_avs.h
demux_demuxers.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_film.c Fix memory leak cid 176 2006-03-10 23:51:41 +00:00
demux_fli.c Fix memory leak cid 177 2006-03-10 23:48:33 +00:00
demux_gif.c Demuxer modularization 2005-08-05 19:57:47 +00:00
demux_lavf.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_lmlm4.c massive attack: mp_msg printf format fixes 2006-01-12 20:04:36 +00:00
demux_mf.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_mkv.c Add audio_delay argument to demux_mkv_seek. 2006-02-27 19:48:31 +00:00
demux_mov.c Reduce output verbosity in non-verbose mode, change some printf to mp_msg. 2006-03-06 08:26:07 +00:00
demux_mpc.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_mpg.c fail immediately if any of the parameters necessary to switch audio stream isn't set/correct; closes cid 55 2006-03-12 12:28:09 +00:00
demux_nsv.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_nuv.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_ogg.c in demux_ogg_read_packet initialize data to whole packet, reduces code and 2006-03-08 22:23:21 +00:00
demux_pva.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_rawaudio.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_rawdv.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_rawvideo.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_real.c Only MAX_STREAMS streams are allowed (cid 115) 2006-03-11 16:42:46 +00:00
demux_realaud.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_roq.c Demuxer modularization 2005-08-05 19:57:47 +00:00
demux_rtp_codec.cpp "LIVE.COM Streaming Media" is now called "LIVE555 Streaming Media". 2005-09-23 22:35:04 +00:00
demux_rtp_internal.h
demux_rtp.cpp Allows the LIVE555 library to forces the client's port to be used 2006-02-19 13:27:27 +00:00
demux_rtp.h ported all network streams to the new API 2005-05-29 12:54:00 +00:00
demux_smjpeg.c Demuxer modularization 2005-08-05 19:57:47 +00:00
demux_ts.c init variable in parse_mp4_object_descriptor before using it; fixes cid 237 2006-03-11 23:26:02 +00:00
demux_ty_osd.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
demux_ty.c name array is too small, use strlcpy instead of strncpy 2006-03-08 21:13:16 +00:00
demux_viv.c massive attack: mp_msg printf format fixes 2006-01-12 20:04:36 +00:00
demux_vqf.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_xmms_plugin.h
demux_xmms.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demux_y4m.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demuxer.c Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
demuxer.h Second-try commit of this patch. 2006-02-17 01:57:41 +00:00
dvb_defaults.h Mark modified imported files as such to comply more closely with GPL §2a. 2005-04-16 12:51:09 +00:00
dvb_tune.c Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
dvbin.c close channels file before exiting dvb_get_channels() if malloc(dvb_channels_list) fails; closes cid 161 2006-03-12 11:45:27 +00:00
dvbin.h Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
dvdnav_stream.c Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
dvdnav_stream.h
ebml.c (hopefully) fixing remaining float endianness problems 2005-07-13 17:24:42 +00:00
ebml.h
extension.c add mpc extension so that playback starts faster. 2006-02-10 18:18:24 +00:00
frequencies.c
frequencies.h comment out useless/nonexistent variable breaking compile on gcc4 2005-05-14 20:26:46 +00:00
genres.h
help_mp.h
http.c Fix base64 encoding for basic auth according to RFC. 2006-03-08 15:14:08 +00:00
http.h Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
Makefile Build muxers only when MEncoder is enabled. 2006-02-06 16:04:17 +00:00
matroska.h Added support for A_AAC. 2005-10-22 10:13:28 +00:00
mf.c Add support to get the list of files from a file containing one filename 2005-11-26 17:10:17 +00:00
mf.h
mp3_hdr.c Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
mp3_hdr.h set i_bps in demux_audio for WAV and MP3 to avoid division by zero before 2005-08-01 18:36:50 +00:00
mp_msg.h
mpeg_hdr.c multiplying fps by 10000 is no more necessary (when determining mp4v and h264 framerate) 2005-08-30 22:07:30 +00:00
mpeg_hdr.h 100l to whoever wrote this crap using 1/10000 units. it caused framerates to get trashed from 30000/1001 to 2997/100, etc.! 2005-08-06 16:15:07 +00:00
ms_hdr.h
muxer_avi.c Fix video delay when encoding with B-frames. 2006-02-21 09:39:22 +00:00
muxer_lavf.c recommitted version 1.22 + Rich's 1.25 2006-03-13 07:08:01 +00:00
muxer_mpeg.c dereference muxer->priv only after having checked muxer!=NULL in write_chunk(); closes cid 206 2006-03-11 23:38:54 +00:00
muxer_rawaudio.c change muxer_write_chunk() so that pts/dts _could_ be passed from encoder to muxer 2006-01-26 19:32:07 +00:00
muxer_rawvideo.c change muxer_write_chunk() so that pts/dts _could_ be passed from encoder to muxer 2006-01-26 19:32:07 +00:00
muxer.c unified failure case in muxer_new_muxer() 2006-03-12 22:14:00 +00:00
muxer.h Fix video delay when encoding with B-frames. 2006-02-21 09:40:25 +00:00
netstream.h
network.c missing url_free when using proxy and connect fails 2006-03-08 15:07:48 +00:00
network.h Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
nuppelvideo.h Support more MythTV nuv files, based on Gentoo portage patch 2005-08-01 18:52:20 +00:00
open.c fix compilation when dvdkit and dvdread are not available 2005-12-14 21:52:41 +00:00
parse_es.c suppress error message at eof 2006-01-17 20:45:51 +00:00
parse_es.h
parse_mp4.c
parse_mp4.h
pnm.c fix 2005-12-05 01:27:32 +00:00
pnm.h ported all network streams to the new API 2005-05-29 12:54:00 +00:00
qtpalette.h
rtp.c fix wrong usage of select() (based on patch by Selwyn Tang selwyn hectrix com), 2005-06-19 12:42:36 +00:00
rtp.h Mark modified imported files as such to comply more closely with GPL §2a. 2005-04-16 12:51:09 +00:00
stheader.h dwStart support for mplayer. 2006-02-18 09:26:39 +00:00
stream_dvd.c init msec in mp_get_titleset_length() before using it; closes cid 251 2006-03-11 23:29:02 +00:00
stream_file.c Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
stream_ftp.c Fix seeking with cache enabled on systems using fork(). 2006-03-13 16:56:10 +00:00
stream_livedotcom.c fix 2005-12-05 01:24:27 +00:00
stream_netstream.c Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
stream_null.c
stream_smb.c Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
stream_vcd.c Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
stream_vstream.c Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
stream.c stream_control() returns int, not void 2006-03-01 21:56:30 +00:00
stream.h removed reference to inexistent extern variable 2006-03-01 22:26:18 +00:00
test.c Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
tv.c make demuxer seek and close functions return void, patch by Dominik Mierzejewski 2005-12-11 17:21:02 +00:00
tv.h Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
tvi_bsdbt848.c Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
tvi_def.h Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
tvi_dummy.c Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
tvi_v4l2.c If we have a tuner, use that as a reason we have audio support, and do 2006-03-08 00:21:44 +00:00
tvi_v4l.c massive attack: mp_msg printf format fixes 2006-01-12 20:04:36 +00:00
url.c Fix URL escaping to correctly handle URL containing an ip6 address or 2005-11-26 15:57:39 +00:00
url.h
vcd_read_darwin.h Prints the numbers of start and end tracks and MSF length for each 2005-09-22 08:46:05 +00:00
vcd_read_fbsd.h Prints the numbers of start and end tracks and MSF length for each 2005-09-22 08:46:05 +00:00
vcd_read_nbsd.h Prints the numbers of start and end tracks and MSF length for each 2005-09-22 08:46:05 +00:00
vcd_read.h Prints the numbers of start and end tracks and MSF length for each 2005-09-22 08:46:05 +00:00
video.c include the right avcodec.h, consistently with the rest of mplayer 2006-01-08 14:03:42 +00:00
yuv4mpeg_intern.h
yuv4mpeg_ratio.c
yuv4mpeg.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
yuv4mpeg.h