reimar
5960ddb8e5
Use defines to give names to the different seek flags.
...
A better solution should be considered later, esp. for the many
broken demuxers that do not treat these flags correctly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25911 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-29 15:11:38 +00:00
reimar
35ef167321
Make all demuxer_desc_t const, thus moving them to .rodata
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25735 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:00:39 +00:00
diego
a6eca2eef8
Use explicit path for headers from the loader/ directory.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22624 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 22:34:45 +00:00
diego
e085bc8dcf
Add explicit location for headers from the stream/ directory.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22623 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 18:36:36 +00:00
reimar
dd866c4d11
Audio should now work fine, so remove the ENABLE_AUDIO ifdef
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22468 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 13:29:06 +00:00
reimar
ea365aa53f
Implement percent-based seeking
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22467 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 13:27:42 +00:00
reimar
1221718d50
Fix seeking for avisynth audio.
...
Based on patch by Alexander Ponyatikh (ranma at 274 ru).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22466 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 13:17:16 +00:00
reimar
e18c2bd2d6
Fix DEMUXER_CTRL_GET_PERCENT_POS with -novideo
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22465 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 12:56:41 +00:00
reimar
4cb645c043
remove pointless cast to int
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22464 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 12:53:43 +00:00
reimar
10552969c3
Remove variable that is unnecessary after last patch
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22452 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:15:59 +00:00
reimar
bd039d9cfe
Remove hack that sets demuxer->video->pts after seeking, it seems no longer needed.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22451 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:13:38 +00:00
reimar
85671d7ee6
Set pts also for audio packets
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22450 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:02:53 +00:00
reimar
723fc2a290
Already frameno == num_frames means we reached EOF.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22449 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:59:23 +00:00
reimar
8849f44f77
Fix crash with avisynth audio-only files and take audio length into account when length is queried.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22448 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:53:26 +00:00
reimar
9a90222cc9
Support more avisynth audio sample types (untested)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22447 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:42:17 +00:00
reimar
7a2d48ad6f
Remove useless void * casts
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22446 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:24:03 +00:00
reimar
76160e7e5c
Do not read more audio samples than available
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22445 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:11:44 +00:00
reimar
0733dc5f01
Fix pakcet -> packet typo in output
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22444 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 13:56:45 +00:00
reimar
0ff9a193c1
Set format tag for float samples correctly (currently useless)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22443 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 13:49:55 +00:00
reimar
5c9ee0eb4d
Move/simplify some variable declarations
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22440 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 12:59:48 +00:00
reimar
bf9ed9dc26
Demuxers have no business setting o_bps
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22439 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 12:55:45 +00:00
reimar
e1783b6b91
First half-working avisynth audio support
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22438 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 12:52:16 +00:00
reimar
bdf99c924b
ENABLE_AUDIO now selects only between -nosound and -aid 0 as default, can be overridden at runtime.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22436 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 11:31:43 +00:00
reimar
28aaefce90
Enable aid/vid stream selection, although it is quite useless currently.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22435 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 11:23:11 +00:00
reimar
30220b2a24
Fix type and usage of avs_get_audio function
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22432 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 09:45:32 +00:00
diego
66b1d0d001
The FSF changed postal address.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19620 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-01 12:11:11 +00:00
reimar
90e39d65dd
10l, last commit swapped U and V planes.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19224 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 17:56:38 +00:00
reimar
6ff2c1e486
Handle frames with stride correctly (e.g. the "Version" source of current AVS).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19223 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 17:04:43 +00:00
reimar
79cccca643
Do not count each decoded frame twice.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19222 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 17:03:08 +00:00
reimar
8bfad4d4dc
Cosmetics for last commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19219 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 15:05:35 +00:00
reimar
a367201b8e
Move more stuff under if (avs_has_video... to simplify later patches.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19218 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 15:04:10 +00:00
reimar
048f1a6244
set pts of the demux patcket correctly
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19217 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 14:44:11 +00:00
reimar
cf6b945116
Move variable declarations to the block level where they are actually used
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19216 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 14:37:41 +00:00
reimar
15f92d9016
call av_release_clip at uninit, part of a patch by Gianluigi Tiesi <mplayer at netfarm it>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19215 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 14:24:04 +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
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
ods15
d620029e4b
Make -identify's 'ID_LENGTH=' print a float and not an integer.. The
...
accuracey may be totally fake for some demuxers (mpg), but accurate for
others.. (avi)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16347 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 08:32:32 +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
72ea928194
memory leak fixes, patch by Gianluigi Tiesi <mplayer at netfarm.it>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15614 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 16:49:29 +00:00
gpoirier
68bd56767f
Fixes double import of avs_create_script_environment.
...
Patch by Gianluigi Tiesi < mplayer & netfarm * it >
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15299 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-30 09:05:45 +00:00
faust3
1d56bd26f0
10l
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14696 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-13 21:36:56 +00:00
faust3
9ba19353ed
avisynth demuxer patch by Gianluigi Tiesi <mplayer at netfarm.it>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14694 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-13 13:39:19 +00:00