1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00
Commit Graph

1668 Commits

Author SHA1 Message Date
aurel
f8617ee059 cycle through tv channels (patch by Andrew Calkin < calkina at geexbox.org >)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16470 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-12 22:48:14 +00:00
henry
b5fc357962 use system videodev2.h instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16444 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-10 18:39:28 +00:00
henry
4655eb7787 - remove useless /dev/video* checks
- add a proper configure check for v4l2
- prepare for videodev2.h removal


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16443 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-10 18:38:23 +00:00
reimar
021f63cd71 Ignore movi_end (except on error) to allow playing growing files.
Also adds a check if stream_read read the requested length.
This and the movi_end check on error help not accidently playing ID3 tags.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16439 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-09 20:05:42 +00:00
reimar
d57b55823e We can not seek, so set seekable to 0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16425 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 23:11:30 +00:00
reimar
54aa920577 memleak fix, escfilename was not freed for an invalid url
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16422 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:45:40 +00:00
reimar
92850fab06 memleak fixes when using an http proxy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16420 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:14:55 +00:00
reimar
c871483f14 check4proxies always creates a copy, so url should be freed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16419 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:08:36 +00:00
reimar
e036d0cf35 memleak fixes when invalid http url specified.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16418 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:00:57 +00:00
reimar
cb1bcc8b79 better bitrate calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16415 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 20:35:14 +00:00
reimar
a6c5758715 execute the check function even when a demuxer is forced, to avoid crashes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16414 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 19:50:21 +00:00
reimar
aacbf3f8c4 Forgotten mpc demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16413 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 19:46:48 +00:00
reimar
b23444d997 Changes forgotten during demuxer API change, introduce a check function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16412 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 19:40:19 +00:00
faust3
ac2c5730ce replace sleep with usec_sleep, required for recent mingw versions, patch by Robert Swain <robert.swain at gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16373 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-03 10:58:52 +00:00
reimar
9a684fa55f faster mpg and much faster gxf demuxing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16370 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-03 08:58:34 +00:00
reimar
ab37415f63 10l, typo in last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16364 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 19:31:29 +00:00
reimar
d8ba059c02 Support D-Cinema audio demuxer and decoder from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16363 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 19:22:22 +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
wanderer
ff123e3a88 fix longstanding typo - "patentend"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16331 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-31 21:13:05 +00:00
reimar
e1d1e3bc74 Fix move playlists (control must be returned to mplayer.c, with the demuxer
returning the real URL as a packet).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16327 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-31 13:04:22 +00:00
reimar
b03226df69 Sparcs do not like wild pointer typecasting (unaligned access).
Fixes bugzilla bug #365.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16323 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 23:59:21 +00:00
reimar
0446e090b1 Allow forcing of demuxers and codecs by prepending '+'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16322 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 23:56:24 +00:00
reimar
c1f2df8f53 extra size checks for samples array to avoid crashes in some rare cases.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16321 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 23:24:47 +00:00
nicodvb
24096d2755 multiplying fps by 10000 is no more necessary (when determining mp4v and h264 framerate)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16320 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 22:07:30 +00:00
rtognimp
b79c4cc293 Fix nsv detection with new demuxer structure
With old method there was an hack to skip detection for streamed nsv,
because demuxer did the chek only on first 4 bytes and live nsv streams
starts at random place in the file. The detection code was changed to
search for nsv signature in the first 64k of the file.
The check was changed to "unsafe" and thus moved later because now is
more expensive.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16319 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 19:06:55 +00:00
rtognimp
16670aff3a Fix mpeg-pes playback
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16315 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-26 22:53:59 +00:00
reimar
655334804b support MPEG in GXF container with extension-based detection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16311 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-26 17:40:02 +00:00
mosu
a030e2fe1c Fixed seeking for AVC-in-Matroska (wrong assumption of what kind of references may be present for a non-I-frame).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16303 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-24 12:33:32 +00:00
gpoirier
dd4390af8b Crash fix for: "[MPlayer-users] Crash of mencoder in demux_ts.c line 2728"
"The code which crashes looks like its trying to parse the subtitle stream,
 and failing, I assume because dvbsub_lang is a invalid pointer, or null."
Patch by Nico Sabi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16293 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-23 08:23:53 +00:00
reimar
dead4d1193 Do not free demuxer before using demuxer->desc->type (happened when using -audiofile).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16292 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-23 08:03:26 +00:00
henry
5e220d0356 mode fps int vs. float woes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16290 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-22 20:04:42 +00:00
rfelker
6cecdc9916 1000000000000000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16275 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-19 14:30:24 +00:00
rfelker
e704b54632 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16274 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-19 14:28:30 +00:00
rtognimp
bf7ea6175a 100l: fix avi demuxing for ni and nini cases, allow forcing ni and nini
demuxers


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16212 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-13 12:20:07 +00:00
michael
0589ba3055 video fourcc fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16201 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-11 20:54:09 +00:00
ods15
bfae13d1db demux_avi_control() missing in avi's demuxer struct.
patch by Uoti Urpala (urpala BANG cc MEEP helsinki MEEP fi)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16200 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-11 17:23:45 +00:00
ods15
d59f67f879 fix brokeness caused by demuxer patch, this code is useless for
any case other than avi and should not be run even then.
patch by Uoti Urpala (urpala BANG cc MEEP helsinki MEEP fi)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16199 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-11 17:01:13 +00:00
rfelker
5c416790ce reconcile with earlier fps fix in mpeg header parser
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16193 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-10 01:42:06 +00:00
faust3
94ea9449cc take into account that VIDIOC_S_FMT might return updated parameters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16187 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-06 19:45:55 +00:00
faust3
40e196f4a6 do not crash when /dev/video0 is not present
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16186 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-06 18:19:58 +00:00
rfelker
a6e05bcdbb 100l to whoever wrote this crap using 1/10000 units. it caused framerates to get trashed from 30000/1001 to 2997/100, etc.!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16185 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-06 16:15:07 +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
al
bd342e463a Support new static libavcodec (depends on libavutil).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16166 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 20:16:56 +00:00
reimar
2d14fdcb3a Support more MythTV nuv files, based on Gentoo portage patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16165 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 18:52:20 +00:00
reimar
1da3dc91bd set i_bps in demux_audio for WAV and MP3 to avoid division by zero before
decoder sets it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16163 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 18:36:50 +00:00
iive
84ec577508 remove unused cache-prefill and create cache-seek-min that controls when seek_long is prefered over waiting for cache to fill
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16153 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-31 00:26:07 +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
a426499a97 Hopefully finally fix the last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16136 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 14:14:13 +00:00
reimar
70c9aca23b lavf demuxer with raw PCM fix (and a related hang)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16135 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 13:43:24 +00:00
alex
28d434a068 no sense anymore
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16127 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 12:05:06 +00:00