Commit Graph

2662 Commits

Author SHA1 Message Date
corey f58a3d0fda Pass imgfmt from lavc encoder to lavf muxer (this is needed for dv).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23327 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-17 00:16:51 +00:00
corey 26e13fe9af Add imgfmt (AKA pixel format) to muxer_stream_t so that encoders can
pass imgfmt to muxers.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23326 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-17 00:15:08 +00:00
uau de444acf51 Fix double free() in demux_asf.c
If demux_open_asf() fails it frees the demuxer->priv field before
returning. Then demuxer.c calls demux_close_asf() which frees the field
again. Fix by removing the free() in demux_open_asf().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23313 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-14 01:23:54 +00:00
compn 98a3000eca add txd codec, works with http://samples.mplayerhq.hu/game-formats/txd/fronten2.txd .
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23292 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 15:47:06 +00:00
reimar 9ef64e24e7 Fix indentation broken in r23287
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23290 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 14:05:06 +00:00
reimar 4ffc4db9da Support theora in mkv. Sample: http://samples.mplayerhq.hu/Matroska/theora.mkv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23289 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 14:01:53 +00:00
reimar 8073174ddb Avoid code duplication in mkv demuxer for standard fourcc/extradata handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23288 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 13:58:57 +00:00
reimar 1e4b9a95b7 Ignore comments where no '=' follows the comment name (otherwise
"album_ja=..." would result in "Album: ja=..." MPlayer output).
Patch by Nicolas George [nicolas george [at] ens fr].
See thread: "[PATCH] Equals in Ogg comments", Mon, 5 Mar 2007 10:50:02 +0100


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23280 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-09 20:10:14 +00:00
nicodvb e4d7bc4396 For DVR-MS:
extract timing information from the payload extension, set key frames,
detect video frame boundaries, interpolate the average video frame time
using the known informations from past frames and timestamps.
Video data before the first video key frame is thrown away.
Patch by John Donaghy johnfdonaghy gmail com



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23257 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 21:58:42 +00:00
cehoyos fd7fa9ee0a Fix compilation after FFmpeg r8921
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23242 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 08:13:22 +00:00
eugeni 476078aed2 Fix NULL pointer dereference in demux_mkv that happens when
demux_mkv_get_sub_lang (or demux_mkv_get_audio_lang) is called with an invalid
track number.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23205 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 23:04:21 +00:00
diego 05c7a055e8 Simplify preprocessor directives: There is a general variable for
static/shared FFmpeg libraries now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23139 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 15:10:07 +00:00
diego 49b64742ed Add general variables for either static or shared FFmpeg libraries.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23119 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 11:22:22 +00:00
diego 61a6e06a52 Add CXX include flags to dependency file generation CFLAGS to generate correct
dependencies for C++ source files as well.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23116 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 10:36:59 +00:00
diego 5a8c8aadef cosmetics: Remove CONFIG_ prefix from FFmpeg library Makefile variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23110 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-25 08:35:35 +00:00
diego 56c96cec50 Declarations and code should not be mixed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23107 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-25 00:03:27 +00:00
diego 62cf4b0c60 Add support for Bethesda Software VID video.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23106 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-25 00:02:23 +00:00
ods15 24f0958e5a compilation fix, manually include help_mp.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23102 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-24 09:05:54 +00:00
reimar b5aa994f1c Cosmetics: remove duplicate space in ifdef
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23090 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 20:59:14 +00:00
nicodvb effc6dcf23 demuxer_desc_lavf_preferred depends on USE_LIBAVFORMAT or USE_LIBAVFORMAT_SO
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23087 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 20:32:15 +00:00
nicodvb dfd0190a6d with -identify show audio and video id; patch by Andrew Savchenko (Bircoph list ru)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23028 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 21:49:49 +00:00
reimar 5e00b162bb Ignore mp4a audio tag, it is meaningless since we get it for all mp4 files
regardless of actual audio codec.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23008 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-16 20:08:29 +00:00
reimar 720fa4936a Use lavf_preferred mechanism to replace more extension-based detection hacks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22990 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-14 10:07:36 +00:00
reimar ef91f5aad8 Add lavf_preferred demuxer for lavf formats we want to be probed
before our native demuxers and remove some now unneeded file-extension
hacks.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22989 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-14 10:03:42 +00:00
nicodvb 745c0b9c38 added :interleaving2, a better method to determine which stream whouls be flushed
at every iteration of the loop (based on the lowest percentage of buffer used
- same algo as libavformat)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22947 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-08 16:15:41 +00:00
nicodvb ee3adc95aa in mpegfile_write_header(only for mpeg1/2) don't overwrite the values of bufsize with dwSuggestedBufferSize (those values are completely invented)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22945 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-08 10:09:56 +00:00
nicodvb 76429f1c97 reindentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22944 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-08 10:00:47 +00:00
nicodvb 4cdcd89714 in the system header set audio_locked/video_locked only for dvd and vcd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22943 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-08 10:00:05 +00:00
nicodvb c675883bb4 small syntax fix: muxrate is expressed in units of 400 bits/second, not 50 bytes per second
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22942 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-08 09:50:27 +00:00
reimar 03bc9d7f97 Start to separate bad-autodetection hacks from other stuff in extension-based
demuxer selection.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22938 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 17:41:17 +00:00
diego ad730514fa .dxa files should be handled by libavformat.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22937 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 16:56:26 +00:00
diego 224fd95f9c support for C93 video
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22936 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 16:50:33 +00:00
nicodvb 3e8e92dc2f 10l, the scr must be reset before overwriting the first pack with the correct system header (format=mpeg1|2)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22935 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 16:42:28 +00:00
diego 31a7f77164 support for THP ADPCM audio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22934 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 16:31:12 +00:00
nicodvb acb512df10 reversed r22879 until I discover why it's giving so many sync problems; I'll eventually recommit it in a fixed form
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22927 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 08:51:26 +00:00
reimar 60ecafec69 BMP support for mf://
Patch by lode leroy [lode_leroy hotmail com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22921 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-06 16:58:00 +00:00
cehoyos 0c3c6dd46e Use teardownMediaSession() instead of teardownMediaSubsession()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22911 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-03 17:00:27 +00:00
uau 208d4343ef "()" to "(void)" function param list fixes
patch from Stefan Huehner, stefan huehner org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 21:59:54 +00:00
nicodvb 5ca85e87e8 removed init_apts and init_vpts; added :adelay in addition to :vdelay
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22899 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 21:27:47 +00:00
nicodvb fc527ebd04 cosmetics: removed trailing spaces
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22897 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 20:03:24 +00:00
diego fc5643ea21 Add support for the THP game format.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22894 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 15:59:44 +00:00
nicodvb f6314c2220 in flush_buffers() removed code that required the presence of an amount of audio data >= video data in the temporal domain
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22879 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 12:25:31 +00:00
cehoyos 407c037cfb Support h264 over rtsp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22870 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 03:03:05 +00:00
cehoyos 46fbb1bd66 Cosmetics: Move variable declaration and initialization up.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22869 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 03:00:47 +00:00
cehoyos 927cde6251 Handle X-QT extradata in a slightly more correct way
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22827 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-26 09:35:03 +00:00
cehoyos a2177f8bfc Fix filepos calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22777 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-22 10:14:32 +00:00
cehoyos 65b9ac6426 Every X-QT stream needs video frame rate (not just avc, mpeg4 and svq3)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22774 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-22 10:01:20 +00:00
diego 5f6965df5d Move libav* include CFLAGS to mpcommon.mak instead of duplicating them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22735 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 22:49:37 +00:00
diego 132dd09be9 Move setting CXXFLAGS to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22731 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 21:58:28 +00:00
compn a261d54b01 add fourcc for dxa files, approved by diego
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22708 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 21:21:04 +00:00
uau 8b59dd4d83 Matroska seeking fixes
If a relative seek forward went past the last index position the
Matroska demuxer did not seek to any index position. It did however set
the mkv_d->skip_to_timecode variable which meant that the next
fill_buffer() call would read from the current position until the target
position (probably the end of the file). Fix this by changing the code
to seek to the last index position if that is between the current and
target positions.

Also change backwards relative seek to accept an exactly matching index
position (<= vs <) and reorganize the seeking conditionals to allow
making the above change without turning the code into a complete mess.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22634 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-16 14:55:41 +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
diego 8868c13dc7 Add live555 include flags to CXXFLAGS only.
patch by Carl Eugen Hoyos, cehoyos ag.or at


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22621 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 18:07:12 +00:00
reimar ec62af965e Check for eof in loop searching for data chunk.
Fixes bug #775.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22604 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 10:38:51 +00:00
diego 5519d98983 cosmetics: Fix indentation, reorder some lines for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 21:55:23 +00:00
diego 60b39e2786 Give more descriptive names to the source and library variables and split
between common, MPlayer-specific and MEncoder-specific parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 12:10:57 +00:00
nicodvb 8eee548895 cosmetics: renamed variable amr as headersize, more meaningful; patch by Carl Eugen Hoyos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22537 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-12 22:13:48 +00:00
diego 4a75f5849f Source files should not contain non-ASCII characters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22525 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-12 15:52:34 +00:00
uau c60af33716 Move the sh_audio->delay field to mpctx->delay.
The value is related to overall a/v sync and is not used by audio
demuxers or decoders.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22506 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-11 06:16:14 +00:00
ods15 a8f031fbc0 remove some lines which should have never been in demux_nut.c, broke CPU
percentage meter for audio only files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22502 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-09 15:40:03 +00:00
uau 0f35f8354e Fix audio samplerates below 7000 Hz.
Patch from John Koleszar, jkoleszar on2 com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22482 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-07 01:23:37 +00:00
nicodvb f1c7edfaa6 support for AMR; it works inserting in the first byte of the demux_packet
a 1-byte header that live555 seems to be stripping for some reason, although according
to the specs it should be there. Patch by Carl Eugen Hoyos.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22481 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-06 22:53:52 +00:00
nicodvb f6687e7a78 removed unused definition of insertRTPData(); it's not only unused,
but conceptually wrong as it passed extradata as first demux_packet
to the corresponding demux_stream. Patch by Carl Eugen Hoyos



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22472 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 22:23:30 +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 4b217802c4 Remove subcp_open/subcp_close from mkv demuxer, they are useless since a long time.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22463 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 12:02:57 +00:00
nicodvb b14bee2928 when seeking consider stream->start_pos instead of 0 as initial position; patch by Zuxy Meng approved by Michael
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22458 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 16:23:18 +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 e1b26346cc Fix wrong setting of samplesize (must be bytes per sample, not bits)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22437 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 12:43:55 +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
compn 66d4061303 warn users about drm files, patch by zuxy meng
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22427 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 21:33:40 +00:00
reimar 3462da0b5c Replace MIN with FFMIN
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22396 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-01 12:54:38 +00:00
reimar 8e7945155c Use libavutil's av_clip* instead of unreadable MIN/MAX chaos.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22395 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-01 12:54:08 +00:00
nicodvb 6c36825079 test the continuity of timestamps for STREAMTYPE_VCD, too; patch by Zuxy Meng
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22381 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-28 23:47:05 +00:00
nicodvb 309dc7e6c6 implementation of DEMUXER_CTRL_GET_TIME_LENGTH and DEMUXER_CTRL_GET_PERCENT_POS; patch by the usual Hoyos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22373 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 22:25:00 +00:00
nicodvb 4671533096 assign missing frametime as 1.0/fps; patch by Carl Eigen Hoyos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22372 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 21:20:24 +00:00
nicodvb e4fbdd185e 1000l, removed code that messed with the internals of demux_packet_t (but there's still more); patch by C.E.Hoyos fixed by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22371 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 21:16:54 +00:00
nicodvb 5ad12e4fbb removed duplicated code in demux_seek(); stream_seek() already aligns to STREAM_BUFFER_SIZE boundary
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22370 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 20:22:05 +00:00
nicodvb 09262ff552 100000l: average != semidistance, fixed seeking to the middle position; patch by Zuxy meng (zuxy.megn gmail com)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22369 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 20:15:31 +00:00
nicodvb 3f7582cca2 copy the content of QDM2 atom as extradata for ffqdm2 playback; patch by Carl Eugen Hoyos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22354 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-26 21:54:52 +00:00
nicodvb 921e985a12 2 less variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22351 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 23:01:13 +00:00
nicodvb 37b65c2eca cosmetics: reformatted
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22350 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 22:55:14 +00:00