reimar
80256aee5e
Fix stupid and almost pointless check-after-read code in asfheader.c.
...
Fixes bug #1133 .
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27243 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-09 18:24:48 +00:00
albeu
64868a36cd
Make stream independent of libmpdemux, the asf demuxer and streaming
...
code share a function and a few definitions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26357 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-09 00:32:35 +00:00
reimar
d02f928bc3
Remove some useless "extern" before function prototypes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23860 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-25 17:29:29 +00:00
nicodvb
72fedc8425
fixed bug introduced with the addition of get_ext_stream_properties()
...
that should close bug #843 , too.
Patch by John Donaghy. Explanation:
The issue is that get_ext_stream_properties shouldnt be returning
false when no extended stream properties are found for the stream in
question because that is not an error condition ... extended stream
properties are optional. The only time this function should return
false is when the buffer overrun checks fail.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23823 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-18 22:16:08 +00:00
zuxy
bc722a5236
fix unaligned memory access in asfheader.c, courtesy of Balatoni Denes
...
(dbalatoni AT programozo DOT hu)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23757 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-10 02:02:21 +00:00
zuxy
6a5b9c26d0
Use play duration instead of send duration to calculate the length
...
of an ASF clip.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23417 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-30 08:36:38 +00:00
diego
5edd9af248
Remove some unused variables, patch by timwoj ieee org.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 08:42:35 +00:00
zuxy
e5113fdfec
Set i_bps for ASF video streams according to extended stream properties
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23375 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-22 13:55:14 +00:00
reimar
ea59198921
Make use of new AV_RL64
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23329 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-17 12:56:08 +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
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
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
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
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
75282a6a83
Sanity-check sh_video->bih->biSize
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21985 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 18:22:07 +00:00
reimar
c70d547ea6
Compile fix: LE_* -> AV_RL*
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21963 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-19 23:14:57 +00:00
reimar
370c07962b
ASF aspect support via metadata reading.
...
Patch by Zuxy Meng (zuxy meng (at) gmail.com) with some
simplifications by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21626 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-15 21:51:20 +00:00
reimar
0639d41ffc
Use libavutil LE_* macros instead of pointer casts which can result
...
in crashes due to missing alignment. Should fix bug #640 .
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21470 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-03 16:41:55 +00:00
reimar
4a6ad7c674
Unicode support for demuxer info in ASF demuxer.
...
Patch by Zuxy Meng [zuxy meng <at> gmail com].
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21461 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-03 11:35:11 +00:00
reimar
59e83201dd
Try to handle oversized asf headers by ignoring anything beyond the first MB
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-13 19:16:39 +00:00
nicodvb
bd40e0ea1d
interpolate real fps of dvr-ms files using the extended stream properties.
...
Patch by John Donaghy - johnfdonaghy gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19967 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-24 15:19:48 +00:00
uau
eb05b22b01
Fix use of uninitialized variable
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19129 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-17 22:22:34 +00:00
reynaldo
d427579f79
marks several read-only string parameters and function return-values which can only be used read-only as const. Patch by Stefan Huehner, stefan _AT huener-org
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19113 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-16 01:20:30 +00:00
reynaldo
32492483c0
drops casts from void * on malloc/calloc from libmpdemux code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19067 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 16:41:13 +00:00
reimar
ee00cceb8b
Forgotten free on error
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18813 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-25 14:02:28 +00:00
pacman
2f30f958b0
Fix declaration mixed in among statements in the recent dvr-ms code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18671 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-09 22:33:09 +00:00
pacman
2a8494d031
Patch from John Donaghy: "fix for audio and video in dvr-ms asf files"
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18610 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-06 23:34:21 +00:00
rtognimp
7cd95a4b4b
Don't use free()d pointer CID 260
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18012 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-01 23:50:30 +00:00
iive
9b4c7840b9
fix descrambling of asf file,
...
where signed buffer could cause erroneous values to be filled in descrable variables,
add misssing check for one of these variables
and restore sign of these variables as insurance that these checks will work even in such case.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18002 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-30 23:06:18 +00:00
albeu
22e18ebe85
Move global vars used for header parsing, etc to dewux->priv as it should
...
be. Also cleanup a bit signedness.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17993 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-29 23:25:09 +00:00
diego
a33158d60d
Convert printfs in aviprint.c to mp_msg and give the information printing
...
functions in this file a verbosity_level parameter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 17:25:41 +00:00
diego
eebf08b978
Convert all if(verbose>X) to mp_msg_test calls.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 08:12:03 +00:00
reynaldo
8970a281df
libmpdemux translatables to help_mp part 1 / mp_msg calls / try 2
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16883 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-31 23:37:41 +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
reimar
c95fe61fd8
10l, incorrect usage of le2me_*
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16150 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-29 15:52:06 +00:00
reimar
d7c31709b3
M$ puts whole FAQs in these headers, so they can get really big...
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15796 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-21 19:56:47 +00:00
reimar
3cfef55557
support DVR format
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15573 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-26 11:23:15 +00:00
reimar
bf0b713d0c
fix stream selection and -bandwidth for mms-over-http.
...
Modifies header parsing to do a brute-force scan for known guids, to avoid
having to analyze and parse the whole property-tree structure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14237 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-25 11:31:32 +00:00
diego
012082e050
less verbosity + printf --> mp_msg
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12220 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-17 10:31:38 +00:00
bertrand
ff6a17f203
Changed the STREAMING defines to MPLAYER_NETWORK to avoid name definition clash.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10122 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-17 12:24:01 +00:00
arpi
422b0d2a4c
demuxer_control(), percent position and time length query implemented in
...
asf, avi, mpeg demuxers.
patch by Balatoni Denes <pnis@coder.hu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8209 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-16 03:42:14 +00:00
arpi
39fe4d0cd3
verbose can be negative
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 17:46:45 +00:00
arpi
bfe2ea0c6a
max header size increased
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7890 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 23:40:34 +00:00
atmos4
b19296cc7e
Fix -bandwidth if no streaming available, 10l ;)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6667 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-07 16:17:45 +00:00
bertrand
20fd97f105
If network is used, take the streams id that were requested.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6646 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-05 02:48:32 +00:00
arpi
1ae254811b
On the sun all int32 objects have to be aligned on 32 bit boundaries. With
...
this patch the asf-files run well on sparc/solaris
patch by Martin Olschewski <olschewski@zpr.uni-koeln.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6188 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-25 12:56:56 +00:00
bertrand
a600c5d796
Changed the big handling to make it use mplayer's endian macros.
...
(reworked of the patch from Guillaume Morin <guillaume@morinfr.org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5619 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-14 05:53:36 +00:00
arpi
43b0f2f4d4
bigendlian fix by Guillaume Morin <guillaume@morinfr.org>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5598 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-13 16:49:27 +00:00
albeu
7380c34169
Added auto selection of the best streams and fixed a few compiler
...
warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4539 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-05 16:50:10 +00:00
arpi
efb1d8e461
pre-check for audio/video streams (hope it fix wma steraming)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4350 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-26 01:21:41 +00:00