1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 11:02:10 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
reimar
a498ea8eb8 Avoid division by zero DEMUXER_CTRL_GET_PERCENT_POS with only one frame by just
returning DONTKNOW. A better formula to calculate position would probably be a better
fix though.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19800 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-11 19:01:20 +00:00
reimar
cb1dbb73a7 Implement DEMUXER_CTRL_GET_TIME_LENGTH and DEMUXER_CTRL_GET_PERCENT_POS,
patch by Paul-Francois Fontigny pff at filmik be


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19225 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 18:19:44 +00:00
gpoirier
76590563aa fix 3 bugs in libmpdemux/demux_mf.c
1. Relative seek is seeking 1 frame too far.
2. Percent seek is seeking 1 frame too far (beyond EOF) at 100%.
3. Check for EOF is checking 1 frame too far.
Patch by Paul-Francois Fontigny < pff AAA filmik PPP be>
Original thread:
Date: Jul 16, 2006 12:40 PM
Subject: [MPlayer-dev-eng] [PATCH] bugfix for libmpdemux/demux_mf.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19185 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-26 09:30:43 +00:00
corey
1ab575101a Second-try commit of this patch.
1. Include audio_delay as an argument to demux_seek.
2. Modify demux_seek_avi to adjust the audio/video stream positions so
   that mplayer/mencoder will instantly be in sync even when -delay is
   specified.

I've quadruple checked this time; hopefully I haven't missed anything.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17637 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 01:57:41 +00:00
iive
0aa37a0db2 allow autodetection of pictures type when using mf://@file.list syntax
autodetection is based on first picture instead of the url


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17625 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 09:34:30 +00:00
corey
3f6e7ce5f5 Reverse commit of unfinished patch for passing audio_delay to the demuxers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17570 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 19:39:51 +00:00
corey
15debd85d2 1. Include audio_delay as an argument to demux_seek.
2. Modify demux_seek_avi to adjust the audio/video stream positions so
   that mplayer/mencoder will instantly be in sync even when -delay is
   specified.

Other demuxers could be modified similarly in the future.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17554 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 20:22:44 +00:00
rtognimp
cd68e1618b Demuxer modularization
Demuxer selection by name with -demuxer command (bakward compatible)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 19:57:47 +00:00
faust3
dbc8d08292 fopen requires binary flag on windows, too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9993 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-26 12:27:56 +00:00
albeu
b104833775 Fix this 10L for wich i got so good bugreports :(((
Thx to Sascha.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9946 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-20 14:31:20 +00:00
michael
b749836b08 add support for sgi files to mencoder patch by (Todd Kirby <slapcat at pacbell dot net>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9535 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-05 10:38:56 +00:00
arpi
3277c61b77 type autodetection (from filemask/filelist extension)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9149 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 22:00:57 +00:00
arpi
4ccfe264a3 stream layer cleanup - part 1
STREAMTYPE_MF removed, using STREAMTYPE_DUMMY instead
mf.c/demux_mf updated to do the opening in demux_open instead of stream_open


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7408 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-15 19:47:49 +00:00
arpi
5b3e3be175 TGA images (-mf on:type=tga) support
patch by Tilman Sauerbeck <tsauerbeck@users.sourceforge.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7363 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-10 20:59:52 +00:00
albeu
2b955d3b05 Added demuxer uninit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5811 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-24 15:36:07 +00:00
pontscho
f9f6c9fd93 Add IJPG decoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5030 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-10 22:49:18 +00:00
pontscho
97654ce7f3 add initial mPNG support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4657 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-11 09:15:59 +00:00
alex
24e208b65b identify jpg with case-insensitive 'jpg' or 'jpeg' string
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4644 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-10 18:09:52 +00:00
pontscho
103a960925 finalize mfi support.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4566 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-07 12:07:47 +00:00
arpi
8c6da39840 emulating BITMAPINFOHDR (for win32 codecs)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4557 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-06 22:03:19 +00:00
pontscho
e53e5c4694 add mfi demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4551 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-06 20:15:36 +00:00