Commit Graph

25978 Commits

Author SHA1 Message Date
reimar 539ab7489e Avoid reinit of vo with the exactly same parameters over and over.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26009 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 14:31:34 +00:00
nicodvb c19d8bdef2 when seeking in H264 an SPS *should* be a valid entry point; feel free to change it if it's wrong
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26008 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 11:51:41 +00:00
nicodvb fc5da18fff cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26007 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 11:02:04 +00:00
nicodvb e9711acb5d in ts_detect_streams() try to identify the program found based on vpid and apid if the previous attempts failed for lack of infos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26006 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 10:58:23 +00:00
uau 1a3fb6c21e libvo: change asm syntax to use ASMALIGN and " # nop"
Change ".balign 16\n\t" to ASMALIGN(4) and "/nop" to " # nop". The new
version is what other code in MPlayer uses, and works with old
assembler versions like that used on OS X.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26005 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 21:52:34 +00:00
reimar 24a3faf378 Support icyx://.
Patch by Sander Plas [sander oele net].


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26004 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 21:21:10 +00:00
reimar 4114557255 Always display Icy-Metadata if available, whether we recognize an ICY-Server
or not. I can not think of a reason why this should hurt.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26003 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 20:32:45 +00:00
reimar 367419a18b Move printing of Icy-Metadata into an extra function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26002 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 20:31:10 +00:00
reimar 48614bcc10 Remove useless code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26001 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 20:23:59 +00:00
reimar de2ae95def Detect IceCast also by Icy-MetaInt header part in http_streaming_start(),
as in fixup_open()


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26000 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 20:20:16 +00:00
benoit 5839f06341 More explicit unsupported pixel format error messages.
Patch by Stefano Sabatini: stefano sabatini (minus) lala % poste it


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25999 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 07:50:27 +00:00
reimar 85f638a50e Try to make fps float -> AVRational conversion work better.
Might make sense to change this once we at least use double for
fps everywhere.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25998 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 17:38:52 +00:00
reimar c1a683ad8c Change force_fps and force_ofps to double
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25997 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:50:34 +00:00
reimar 1b2d30c221 Change mf_fps to double
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25996 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:44:52 +00:00
cehoyos e78f2ea6dc Revert accidentially committed line of r25994.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25995 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:39:49 +00:00
diego 835c654bb0 typo fix: inited --> initialized
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:23:55 +00:00
compn 440d7d2575 add ffpcx decoder, works on my samples.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25993 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-13 21:36:27 +00:00
cehoyos 2fdfd41cb5 Fix typo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25992 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-13 19:21:39 +00:00
diego b8da7d2c5a typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25991 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-13 09:07:41 +00:00
diego a20fb9aee1 Translate stray Italian term.
patch by Alfredo Pironti, alfredo.pironti a gmail d com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25990 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-13 00:55:37 +00:00
iive 153b4a23f9 Implement test for system byteswap.h header file.
The result of this check is required by libavutil library.
If it is not defined the library would try to implement its own
byte swapping routines in bswap.h . As the routines are with same names, 
if included, the system definition would replace the function names with
the macros. The result can not be compiled and looks like this:

# 42 "../libavutil/bswap.h"
-static av_always_inline uint16_t bswap_16(uint16_t x)
+static __attribute__((always_inline)) inline uint16_t (__extension__ ({ register unsigned short int __v, __x = (uint16_t x); if (__builtin_constant_p (__x)) __v = ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8)); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }))


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25989 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-12 21:10:13 +00:00
reimar df6f7b80c6 Change to always use MP_NOPTS_VALUE (instead of sometimes 0) for unknown pts.
I did not see anything obvious that would break, it if it does it should be
fixed properly once and for all.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25988 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-12 10:48:42 +00:00
nicodvb f785eba8a1 -chapter is now handled uniformly calling demuxer_seek_chapter() instead
of letting individual demuxers and stream readers do their nasty job


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25987 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 22:03:34 +00:00
gpoirier d31f87b06c sync w/ r25984
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25986 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 21:24:21 +00:00
reimar 7a6d302f42 Try harder to find OpenGL functions on Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25985 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 19:37:47 +00:00
reimar 19578c6960 Slightly document alpha for OSD color
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25984 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 19:01:34 +00:00
reimar 2d79c4c109 Support alpha for vo gl osdcolor
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25983 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 19:00:01 +00:00
reimar 875d963649 Remove an extern for a variable that no longer exists
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25982 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 15:23:21 +00:00
reimar 8c1a56e57a Remove left-over extern definitions that should not be there
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25981 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 15:21:25 +00:00
diego 3cf3483e39 #include just libavutil/common.h, not all of libavutil/intreadwrite.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25980 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 09:05:31 +00:00
gpoirier 5adcf0ae43 sync w/r25973
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25979 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 23:48:44 +00:00
reimar b8abe420bc Make some variables static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25978 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 19:58:05 +00:00
reimar 6201d6027d Avoid a useless extra pointer variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25977 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 19:55:15 +00:00
reimar 7c763876c7 Do not uselessly erase background, OpenGL will take care of drawing everything.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25976 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 19:47:54 +00:00
diego 1726ba9e05 Disable v4l2 if pthreads are not available, fixes bug #1015.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25975 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 19:37:18 +00:00
reimar 2272b20c3d Avoid -wid message processing blocking MPlayer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25974 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 16:49:24 +00:00
reimar 7aa07197ea Hint about possible libmpeg2 problems with -hardframedrop
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25973 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 15:34:52 +00:00
reimar c5decb0718 Forward mouse messages to -wid Window.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25972 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 10:01:25 +00:00
voroshil cfa8d1df96 r25770: URL updates for contributed win32 stuff.
r25771: VIDIX is no longer a shared library.
r25772: typo fix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25971 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 06:53:35 +00:00
voroshil 85e18e89ef Sync tag update: changes in original text are
unnecessary to translation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25970 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 06:46:29 +00:00
voroshil 420d81170e Sync tag update
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25969 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 06:39:52 +00:00
voroshil 7d4f8eace6 r25605: properties to get and set angle; patch by oattila chello hu
r25663: add support for per protocol and per extension playback profile loading
r25947: Add windows cp1256 encoding for arabic, fixes bug #1007


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25968 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 06:37:12 +00:00
cehoyos 9e83b53822 Make dither4 & dither8 const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25967 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-09 22:57:37 +00:00
reimar a09d0bac78 Make sure the -wid window does not get notified when we destroy our attached child window.
Previous behaviour seems to cause QT to do something stupid which makes
DestroyWindow hang (SMPlayer is an application where this happened).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25966 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-09 14:47:10 +00:00
reimar 83834ac968 Hack: Create a child window for Windows OpenGL with -wid, since (esp. nVidia)
drivers have problems drawing in other processes' windows. 

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25965 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-09 14:14:35 +00:00
compn 325b472ae6 cosmetic typo fix, geneate > generate
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25964 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-09 13:13:02 +00:00
reimar fa054564d7 Use AV_RB*, reduces x86_64 code size by almost 1kB.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25963 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-09 10:38:36 +00:00
nicodvb 77a9f6179c in some still unknown system format 0x82 identifies AUDIO_DTS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25962 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-08 23:45:26 +00:00
reimar 5727c58ece example for setting WMP user-agent string, helps when playlists
and media (streamed via mms) use the same URL (what an ugly case of
user-agent misuse!)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25961 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-08 18:33:39 +00:00
reimar d794982367 Disable http->mmshttp rewriting hack introduced in r25168,
unfortunately WMP is not the only one using asx.
Fixes http://www.fresh80s.de/listen.wax


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25960 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-08 18:28:12 +00:00