1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 06:11:10 +00:00
mpv/libmpdemux
Uoti Urpala 9a663ffec6 core: move video pos/length query functions from demux to core
Move functions to query current playback position, percentage position
and total video length from from the demuxer layer to top level. The
functions need access to playback state that doesn't belong on the
demuxing level. Make the new functions more capable and simplify some
code that can now rely on them. This fixes some errors in displayed in
OSD and slave mode information when using timeline (ordered chapters).
2010-11-08 18:05:12 +02:00
..
aac_hdr.c Add separate header for aac_parse_frame(); avoids forward declarations. 2010-02-17 22:28:24 +00:00
aac_hdr.h Add separate header for aac_parse_frame(); avoids forward declarations. 2010-02-17 22:28:24 +00:00
asf.h
asfguid.h asfguid.h: Use AV_RL32 also in x86 2010-11-02 04:14:20 +02:00
asfheader.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
asfheader.h Add header for asf_check_header, read_asf_header; avoids forward declarations. 2010-02-17 23:45:01 +00:00
aviheader.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
aviheader.h Add read_avi_header() to aviheader.h; avoids forward declarations. 2010-02-17 23:10:56 +00:00
aviprint.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
aviprint.h Declare public function print_vprp() in aviprint.h. 2010-02-21 23:36:36 +00:00
demux_aac.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
demux_asf.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
demux_audio.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_avi.c printf format fixes ("%d" -> "%zd") 2010-11-02 04:15:48 +02:00
demux_avs.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_avs.h
demux_demuxers.c core: move video pos/length query functions from demux to core 2010-11-08 18:05:12 +02:00
demux_film.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_fli.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
demux_gif.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_lavf.c demux_lavf: Fix program switching 2010-11-08 18:03:35 +02:00
demux_lmlm4.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_mf.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_mkv.c demux_mkv: fix decoded length calculation of LZO decompression 2010-11-02 04:17:04 +02:00
demux_mng.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_mov.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_mov.h Add header file for store_ughvlc(); avoids forward declarations. 2010-02-17 23:02:13 +00:00
demux_mpc.c
demux_mpg.c demux_[mpg|ts|ty]: #include dec_audio.h for skip_audio_frame() 2010-11-02 04:18:08 +02:00
demux_nemesi.c demux_nemesi: Remove a pointless if 2010-11-02 04:16:46 +02:00
demux_nsv.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_nut.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_ogg.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_ogg.h Add header for demux_ogg_open, init_avi_with_ogg; avoids forward declarations. 2010-02-17 23:36:44 +00:00
demux_pva.c demux_pva: move functions, add "static" 2010-11-02 04:18:08 +02:00
demux_rawaudio.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_rawdv.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_rawvideo.c
demux_real.c demux_real.c: Remove unused hexdump() forward declaration 2010-11-02 04:18:08 +02:00
demux_real.h Add separate header for real_fix_timestamp(); avoids forward declarations. 2010-02-17 22:22:51 +00:00
demux_realaud.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_roq.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_rtp_codec.cpp build: enable/disable all FFmpeg libraries together 2010-11-02 04:16:55 +02:00
demux_rtp_internal.h build: enable/disable all FFmpeg libraries together 2010-11-02 04:16:55 +02:00
demux_rtp.cpp build: enable/disable all FFmpeg libraries together 2010-11-02 04:16:55 +02:00
demux_rtp.h Remove pointless #ifdef checks for DEMUXER_H, which is never set. 2010-02-27 12:48:11 +00:00
demux_smjpeg.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_ts.c demux_ts: Fix subtitle sync issues 2010-11-08 18:05:11 +02:00
demux_ts.h demux: Move mp_a52_framesize from demux_ts.c to parse_es.c 2010-11-02 04:15:48 +02:00
demux_ty_osd.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
demux_ty_osd.h Add header for ty_ClearOSD(), ty_processuserdata(); avoids forward declarations. 2010-02-17 22:48:32 +00:00
demux_ty.c demux_[mpg|ts|ty]: #include dec_audio.h for skip_audio_frame() 2010-11-02 04:18:08 +02:00
demux_viv.c Remove #warning preprocessor directives 2010-11-02 04:18:10 +02:00
demux_vqf.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_xmms_plugin.h
demux_xmms.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demux_y4m.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
demuxer.c core: move video pos/length query functions from demux to core 2010-11-08 18:05:12 +02:00
demuxer.h core: move video pos/length query functions from demux to core 2010-11-08 18:05:12 +02:00
ebml_defs.c demux_mkv: read tags. 2010-05-22 06:40:34 +03:00
ebml_types.h demux_mkv: read tags. 2010-05-22 06:40:34 +03:00
ebml.c cosmetics: Reformat in K&R coding style. 2010-05-27 16:46:47 +00:00
ebml.h bstr.[ch]: add new files for struct bstr related functionality 2010-05-20 23:50:18 +03:00
extension.c cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
genres.h spelling fixes 2010-11-02 04:15:03 +02:00
matroska.h demux_mkv: support V_MJPEG video tag 2010-10-27 01:46:05 +03:00
mf.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
mf.h
mp3_hdr.c Merge svn changes up to r30798 2010-03-10 02:35:02 +02:00
mp3_hdr.h
mp_taglists.c codecs_conf, mp_taglists: Use only one fourcc for LATM 2010-11-08 18:05:07 +02:00
mp_taglists.h
mpeg_hdr.c mpeg_hdr.c: move function to avoid forward declaration 2010-11-02 04:18:08 +02:00
mpeg_hdr.h Parse and use the information from the frame rate extension header for MPEG-2. 2010-02-21 13:53:41 +00:00
mpeg_packetizer.c
mpeg_packetizer.h
ms_hdr.h Get the proper codec id when a WAVE_FORMAT_EXTENSIBLE extension exists in a 2010-02-22 14:27:32 +00:00
parse_es.c demux: Move mp_a52_framesize from demux_ts.c to parse_es.c 2010-11-02 04:15:48 +02:00
parse_es.h demux: Move mp_a52_framesize from demux_ts.c to parse_es.c 2010-11-02 04:15:48 +02:00
parse_mp4.c Merge svn changes up to r30643 2010-03-10 00:00:06 +02:00
parse_mp4.h cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
qtpalette.h
stheader.h demux_lavf: print subtitle type in more cases 2010-11-02 04:15:49 +02:00
video.c cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr) 2010-11-02 04:16:46 +02:00
yuv4mpeg_intern.h
yuv4mpeg_ratio.c cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
yuv4mpeg.c cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
yuv4mpeg.h cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00