reimar
e0b789ec7b
Disable winsock when we already found a working socklib instead of checking
...
blindly for cygwin and uselessly running the check on e.g. Linux.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29986 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-09 17:55:34 +00:00
reimar
5c5087081f
DShow TV input needs part of the our DirectShow code, so add the proper
...
dependencies to the Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29985 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-09 17:52:18 +00:00
reimar
80981cd2d0
Use a fallback to make sure the basic OpenGL functions are available instead of
...
initializing them which does not work well with reinitializations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29984 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-09 17:50:07 +00:00
reimar
c13aaf85d1
Prefer GLAPIENTRY over APIENTRY, it is the better name and used more by OpenGL headers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29983 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-09 17:36:55 +00:00
cehoyos
3b1e70e3ee
Support FourCC's AVI1 and AVI2 as MJPEG.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29982 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-08 23:58:42 +00:00
reimar
e64d47925a
Pass all OpenGL functions through a function pointer indirection.
...
This still needs more work, but should allow supporting e.g. GLX-OpenGL
and Win32-OpenGL with a single binary.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29981 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-08 23:32:51 +00:00
reimar
2661039ada
Very preliminary code to allow selecting the OpenGL backend at runtime.
...
Works in the currently supported cases for only Win32 and only X11,
the mixed case is not working yet though.
But applied anyway since the code is slightly less messy than the current one.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29980 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-08 06:42:46 +00:00
reimar
1057181fd7
Add braces to avoid ambiguous else.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29979 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-07 23:11:40 +00:00
ramiro
b5b701c544
Document the differences between the two asm fragments in initMMX2HScaler().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29978 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-07 03:52:55 +00:00
ramiro
71f9e96fc7
Start using intermediate buffers at index 0.
...
These index variables are incremented before each use, so they should be
initialized to -1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29977 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-06 22:01:25 +00:00
ramiro
63e520efbf
Fix compilation with runtime cpu detection.
...
All functions in swscale_template.c should be declared with the RENAME macro.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29976 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-05 09:44:19 +00:00
compn
c145024193
fix apple.com trailer example, via carl
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29975 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-03 21:04:53 +00:00
ramiro
bf29785d5a
Add support for nv12/nv21 input.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29974 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-03 18:18:13 +00:00
compn
cb8ae3fe63
add slif fourcc (modified mpeg2 codec) to ffmpeg sw decoders
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29973 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-01 05:02:26 +00:00
lorenm
9c846b3df6
sync to x264-r1327. (only needed for x264-in-libavcodec)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29972 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-29 05:18:40 +00:00
tack
b2adf9d98d
Fix mangling of 24-bit audio during channel reorder.
...
Only 1/3 of the samples in the buffer passed to reorder_channel_nch()
were being reordered. For 8-, 16-, and 32-bit audio, the buffers could
be treated as int8_t, int16_t, and int32_t respectively. 24-bit audio
was being processed as int8_t, requiring iteration over n_samples*3, not
n_samples.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29971 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-28 18:23:26 +00:00
attila
ea6fe5dc40
when using -v, print also which lavc codec has been used, not
...
just that the init was ok
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29970 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-28 18:01:54 +00:00
jrash
d37f69a09c
improve previous translation
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29969 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-27 12:23:06 +00:00
stefano
5b7ed8dad5
Make sws_format_name() use av_pix_fmt_descriptors.
...
This also introduces a dependency of libswscale on libavutil.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29968 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-26 21:08:45 +00:00
compn
d75ab2c3b5
add user-agent example to fix apple.com/trailers
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29967 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-26 18:01:13 +00:00
compn
cf2227159a
map 0x20736D to ffac3, fixes broken mov sample
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29966 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-26 18:00:45 +00:00
compn
b3eaf99833
mime type [video/x-ms-wmv] is not an ASF redirector.
...
patch by KO Myung-Hun komh!chollian!net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29965 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-26 17:57:33 +00:00
reimar
731e9490b2
Readjust the global number of subs when switching dvdnav track to take
...
into account any change in the number of DVD subtitles available.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29964 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-24 06:59:21 +00:00
compn
f6c6ca3422
small update wishlist
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29963 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-23 20:41:06 +00:00
reimar
af2988cbce
Finally rename the STREAM_SEEK define to MP_STREAM_SEEK, there are just too many
...
name clashes, in particular with Windows headers (which define STREAM_SEEK as an enum type).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29962 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 15:18:21 +00:00
reimar
302527a111
Some MinGW awk versions can not handle reading from files with CRLF
...
line-ending, so force this file to always use just LF
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29961 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 15:10:50 +00:00
reimar
b379d40d90
100l, forgot to apply vo_w32_get_dc/vo_w32_release_dc declarations in w32_common.h
...
Should fix compilation on MinGW.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29960 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 14:46:43 +00:00
reimar
897f210bf4
av_alloc_format_context -> avformat_alloc_context
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29959 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 14:15:41 +00:00
reimar
b01af7a428
Fix initialization values for vf_expand priv struct.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29958 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 13:26:57 +00:00
reimar
86e0273c14
Remove unused variable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29957 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 13:25:07 +00:00
reimar
2959f9e032
Add const to draw_slice argument to match what FFmpeg expects for draw_horiz_band.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29956 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 13:18:12 +00:00
reimar
dcd0daccca
Switch ad_ffmpeg to avcodec_decode_audio3
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29955 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 13:14:39 +00:00
reimar
65c2bae2b5
Remove unused variable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29954 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 13:08:43 +00:00
reimar
054d1889ef
Reuse buffer in priv context instead of allocating the 32kB probe buffer
...
on the stack.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29953 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 13:06:44 +00:00
reimar
4d55629cd6
Fix crash with partial fribidi conversion.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29952 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 00:22:24 +00:00
reimar
75c4d3e8b5
Mention right-to-left support for embedded subtitles also in the Changelog.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29951 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 00:10:52 +00:00
reimar
03e99c5cb8
Make fribidi (i.e. right-to-left) support work with embedded subtitles.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29950 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 00:09:40 +00:00
jrash
4a89d76451
Synced with help_mp-en.h r29912
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29949 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-21 23:47:19 +00:00
reimar
1bd34477aa
Print which visual glXChooseVisual chose when running in verbose mode.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29948 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-21 22:32:53 +00:00
reimar
c045f6525f
Move OpenGL-related messages that have large output from MSGL_V to MSGL_DGB2.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29947 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-21 22:30:33 +00:00
reimar
4805ea9864
Add support for Windows OpenGL rendering onto a device instead of into a window.
...
Has little use except for experimenting - on Windows 9x it could be used to
render on monitors that were not managed by Windows, but that feature was
removed in newer Windows versions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29946 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-21 22:27:40 +00:00
reimar
4198e9d45b
Remove unreachable parsing code: for filters that use the option parser,
...
the args argument to open will always be NULL and vf->priv will always be
!= NULL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29945 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-21 19:50:33 +00:00
reimar
597c92ff7f
Support RGB48NE format in OpenGL vos (only really useful once they are modified
...
to actually use GLX/WGL visuals with more than 8 bits per component if available).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29944 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-21 18:59:52 +00:00
reimar
6fa77ca503
Allow vf_scale to output to RGB48, though still prefer the 24 and 32 bit formats.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29943 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-21 18:58:03 +00:00
reimar
1f93734fd8
Support 16-bit-per-component RGB formats (rgb48[bln]e) in option parser.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29942 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-21 18:47:47 +00:00
reimar
8a6fdd634d
Add a define for IMGFMT_RGB48NE that depends on machine endianness.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29941 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-21 18:45:41 +00:00
reimar
d1a2c82198
Move 128kB buffer from stack to demuxer context.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29940 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-20 23:48:16 +00:00
reimar
66c41d41c5
calloc instead of malloc+memset.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29939 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-20 23:41:06 +00:00
reimar
bd5ec5065e
Use calloc to allocate a rather large (currently 32k) array instead of
...
putting it on the stack, performance should not matter much here.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29938 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-20 23:36:16 +00:00
reimar
dc6a72386c
sub_fribidi should be static, it is not used outside subreader.c
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29937 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-20 10:32:45 +00:00