Commit Graph

1744 Commits

Author SHA1 Message Date
rathann 355bc2f7c1 fix
pnm.c:228: warning: implicit declaration of function 'usec_sleep'
realrtsp/rtsp.c:184: warning: implicit declaration of function 'usec_sleep'
ad_acm.c:149: warning: implicit declaration of function 'usec_sleep'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17093 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:27:32 +00:00
rathann 9d4d23cad6 fix
muxer_mpeg.c:2315: warning: implicit declaration of function 'mp_get_mp3_header'
muxer_mpeg.c:2339: warning: implicit declaration of function 'a52_syncinfo'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17092 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:26:09 +00:00
rathann d5505c8f9e fix
demux_ogg.c:371: warning: implicit declaration of function '_ilog'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17091 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:25:31 +00:00
rathann 7daf67e81b fix
stream_livedotcom.c:70: warning: assignment makes pointer from integer without a cast
stream_livedotcom.c:77: warning: passing argument 1 of 'lseek' makes integer from pointer without a cast
stream_livedotcom.c:78: warning: passing argument 1 of 'lseek' makes integer from pointer without a cast
stream_livedotcom.c:84: warning: passing argument 1 of 'read' makes integer from pointer without a cast
stream_livedotcom.c:96: warning: control reaches end of non-void function


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17090 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:24:27 +00:00
rfelker c4f58eee9e muxer_lavf MUST be disabled by default until someone adds AVParser
support to it. Otherwise users will generate files with totally
nonsensical pts if they use B frames! (And they are already doing so
-- see mplayer-users list!)

If anyone wants to volunteer to add AVParser support, go right ahead!
But until then, do not remove this check. :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17080 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-02 19:43:36 +00:00
nicodvb 6ac24fccd8 fixed wrong telecine trf pattern; fall back to mpeg2 when user specifies unknown format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17067 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-30 21:45:32 +00:00
reynaldo 2ae5a0788d Clean up some muxer messages, patch by Corey Hickey bugfood-ml AT -fatooh/org- , small fixes by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17066 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-29 22:04:57 +00:00
albeu fcd2d08125 Add support to get the list of files from a file containing one filename
per line. Patch from devik (devik .at. cdi .dot. cz).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17051 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-26 17:10:17 +00:00
albeu bab80ce123 Fix URL escaping to correctly handle URL containing an ip6 address or
escaped special chars like & or ;


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17049 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-26 15:57:39 +00:00
diego c98a02849f When it comes to CD/DVD handling bsdi has a linux CD/DVD compatibility
library, use this to fix building on this (weird ;)) system.
patch by Steven M. Schultz sms __ at __ 2BSD __ dot __ COM


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17045 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-25 02:06:47 +00:00
rtognimp 7d81d69dd5 Ignore OPTIONS rtsp command during playback. Fixes
rtsp://mms.sonix.de/universal/rock/apocalyptica_lifeburns_300.rm?start=0
(playback stopped after 82 sec)
Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17033 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-22 19:24:09 +00:00
nicodvb 7a8f8317fd buffering in the muxer layer; patch by Corey Hickey (bugfood-ml ad fatooh punctum org) plus small fixes by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17024 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-21 22:53:14 +00:00
diego 36e1974be0 Unify include path handling, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:39:25 +00:00
rathann 06ac97d79f Simplify weird code. ;)
Approved by Diego.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16984 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-13 20:25:06 +00:00
reynaldo 8318fcd06b [TRIVIAL] More translatables to help_mp and printfs to mp_msg on libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16968 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 21:33:12 +00:00
reimar cf440b521e Do not hang forever when the card delivers no new data.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16963 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 20:32:47 +00:00
reimar 0a85f24278 implement norm switching, which was already documented??
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16962 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 20:31:27 +00:00
rtognimp 59235ce33e Add another content-type for aac audio in shoutcast streams
Fixes http://www.digitallyimported.com/aacplus/goapsy.pls


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16949 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-08 22:07:53 +00:00
faust3 7b7c8c7125 save us from #ifndef hell
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16941 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 21:09:07 +00:00
faust3 0538ed8780 make it optionally possible to compile MPlayer with libcdio instead of libcdparanoia
patch by Erik Lunchpail <erik_27can at yahoo.com>
base on patch by Rocky Bernstein <rocky at panix.com>
minor modification by myself


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16936 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 17:42:20 +00:00
nicodvb f57a65dd86 fixed possible uint8 overflow; assign progid to the newly created pmt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16935 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 16:17:17 +00:00
reimar 949b479e3c fix typos: aslo->also, falback->fallback (they were just too annoying *g*)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16933 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 16:10:39 +00:00
reimar 78f77afc33 Fix bugs/crash introduced by translation patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16931 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 15:25:08 +00:00
reimar ee37c78b40 fix cdda://n syntax: do not hang when n > nr_tracks and play only track n,
not all after (unfortunately, cdda://n- does not work, use e.g. cdda://n-99999).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16927 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 14:17:51 +00:00
reimar fb99b3a5c4 estimate total time also for audio-only files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16926 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 14:14:53 +00:00
rtognimp 1cfe5263b1 Use correct demuxer type for aac in shoutcast streams
(content-type="audio/aacp").
Fixes http://160.79.128.40:7040 (it does not work with internal faad)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16918 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-05 15:32:50 +00:00
reimar 4e76145381 Speex support. Seeking and pts generation does not work.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16916 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-05 11:58:25 +00:00
reimar eeaa5eb45f set cdda paranoia default to 0 since e.g. cdda://2 breaks otherwise.
this was the default before, too, since a function call was missing and
thus the paranoia setting was ignored


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16915 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-05 11:40:06 +00:00
lorenm 316bb1d44c sort timestamps instead of assuming conventional B-frame order. (fixes x264 B-pyramid)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16913 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-05 04:56:23 +00:00
ptt 1256435423 Changed MSGTR_MPDEMUX_URL_MallocFailed to MSGTR_MemAllocFailed (msg defined two times in help_mp-en.h)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16909 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-05 00:55:34 +00:00
ptt 80f36a7449 Changed MSGTR_MPDEMUX_ASF_MallocFailed to MSGTR_MemAllocFailed (msg defined two times inhelp_mp-en.h)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16908 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-05 00:53:33 +00:00
ptt f967a47371 Changed MSGTR_MPDEMUX_MMST_MallocFailed to MSGTR_MemAllocFailed (msg defined two times inhelp_mp-en.h)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16907 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-05 00:51:36 +00:00
ptt 35ca56387b changes from MSGTR_MPDEMUX_AIALSA1X_* to MSGTR_MPDEMUX_AIALSA_* since they are the same messages
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16906 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-05 00:48:43 +00:00
reimar 754c2b98ef Fix two (loosely) related bugs: massive A-V desync with -audiofile (bugzilla
bug #375, sh_audio->delay must only be set when seeking, not at every packet)
and not switching to the next file when seeking hits eof.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16885 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-01 16:12:53 +00:00
nicodvb af89106f3f more precise seeking based on calculated average video bitrate; works quite well in case of a TS with only 1 video stream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16884 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-31 23:38:32 +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
reimar 2912984517 move resync_audio_stream after seeking to demuxer.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16878 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-30 09:19:05 +00:00
reimar 9e15dfe7fc Provide DEMUXER_CTRL_GET_TIME_LENGTH and DEMUXER_CTRL_GET_PERCENT_POS.
Might need some more fine-tuning.
together with rev. 1.318 of mencoder.c fixes bug #116


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16877 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-30 09:13:32 +00:00
ods15 997fc285dc add a \n after whole cache fill.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16871 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-27 06:55:05 +00:00
reimar 59eed1b45d big-endian fixes for "extended" (i.e. mythtv) files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16860 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-25 20:01:09 +00:00
mosu d7a113f20d Added support for A_AAC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16825 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-22 10:13:28 +00:00
reimar 2d6059c4e5 Fix seeking in wav files: align relative to start of data, not start of file
and use nBlockAlign if available.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16819 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-20 15:15:53 +00:00
rfelker 3892465935 processing audio is sometimes essential for a/v sync, so 1000l to
whoever made rawvideo muxer disable audio!!

with this patch, audio is processed but simply thrown away by the
muxer. various 'error' conditions in rawvideo muxer are removed to
make it work. feel free to re-add them if they can be done without
breaking anything, but do not use printf !!!!

btw old behavior can be obtained by manually specifying -nosound.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16806 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-19 05:44:27 +00:00
diego f7e307ee4d Make a few more messages translatable by moving them into help_mp-en.h.
patch by Paul TT < paultt == at == hackerjournal == dot == it >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16794 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-18 11:11:25 +00:00
reimar 0d70ad3248 10l, demux_mpg_control was missing from demuxer info struct, causing audio
switching not to work


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16772 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-15 11:51:37 +00:00
reimar 68371d2985 ugly hack to make it work again with external libdvdread
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16771 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-15 11:47:33 +00:00
gpoirier 719baa4502 Kill a compiler warning, Patch by Zuxy Meng
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16763 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-14 12:41:15 +00:00
gpoirier d4e6ecfd6a Make FtpSendCmd() function more user friendly by making it append the necessary "\r\n" line break (instead of the caller)
Patch by Zuxy Meng < zuxy POIS meng AH gmail POIS com >
Original thread:
Date: Oct 14, 2005 1:01 PM
Subject: [MPlayer-dev-eng] [PATCH] More user friendly ftp error


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16762 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-14 12:35:30 +00:00
reimar 169416fd51 Use PRI?64 defines as format strings for 64 bit variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16751 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-13 18:33:56 +00:00
faust3 1bd75f8c74 we need stdio.h for SEEK_SET on mingw, patch by Zuxy <zuxy.meng at gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16749 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-13 12:13:49 +00:00