1
mirror of https://github.com/mpv-player/mpv synced 2025-01-24 19:37:30 +01:00
Commit Graph

24255 Commits

Author SHA1 Message Date
diego
90aa63e2fd Remove pointless #ifdef HAVE_XVMC within get_format(), all of the function
is protected by that #ifdef.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24274 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:38:08 +00:00
diego
89855e1022 warning fix:
vd_ffmpeg.c: At top level:
vd_ffmpeg.c:915: warning: 'get_format' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24273 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:36:04 +00:00
diego
e027efe578 warning fix:
vo_tdfx_vid.c: In function 'draw_image':
vo_tdfx_vid.c:497: warning: unused variable 'stride'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24272 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:11:49 +00:00
diego
aef2dad912 warning fix:
vo_3dfx.c: In function 'create_window':
vo_3dfx.c:189: warning: implicit declaration of function 'vo_x11_classhint'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24271 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:10:00 +00:00
diego
c6c3df07cd warning fix:
vo_s3fb.c: In function 'enable':
vo_s3fb.c:131: warning: control reaches end of non-void function


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24270 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:08:04 +00:00
diego
2c74f01a5f warning fix:
vf_scale.c:359:92: warning: trigraph ??) ignored, use -trigraphs to enable


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24269 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:06:00 +00:00
diego
a2c5abc3d2 cosmetics: Add some explanatory comments to #endif directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24268 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:02:19 +00:00
diego
37fe15b1c8 warning fix:
ve_qtvideo.c: At top level:
ve_qtvideo.c:109: warning: 'decompressor' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24267 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 16:59:24 +00:00
voroshil
6e88eeb7b7 Move channels option parsing code into separate routine.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24266 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 14:36:13 +00:00
diego
a7f862037f warning fix:
font_load.c: In function 'read_font_desc':
font_load.c:56: warning: unused variable 'fstate'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24265 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 14:36:04 +00:00
voroshil
c4debc9042 Implement X/27/0 packet decoding.
It contains information about navigation links.

Modified patch from Otvos Attila oattila at chello dot hu


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24264 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 14:10:47 +00:00
reimar
bf61021b10 Add code to clear left and right borders not only top and bottom.
Patch by Tomas Janousek (tomi nomi cz) with small modifications by me.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24263 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 13:54:27 +00:00
diego
84157efa5a Clean up the way get_path is handled: Compile get_path.c to an object to link
against instead of directly #including the C file and replace the many extern
declarations by a proper header file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 11:20:24 +00:00
diego
2e2c64dd3a warning fix:
vo_xmga.c: At top level:
mga_common.c:212: warning: 'mga_fullscreen' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24261 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 11:04:36 +00:00
diego
4050debeff warning fix:
vo_directfb2.c:111: warning: 'tvnorm' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24260 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:55:53 +00:00
diego
9842c21a07 warning fix:
vo_xv.c:63: warning: redundant redeclaration of 'XShmGetEventBase'
/usr/include/X11/extensions/XShm.h:80: warning: previous declaration of 'XShmGetEventBase' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24259 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:53:51 +00:00
diego
61c0c8c88c warning fix:
vo_svga.c:57: warning: redundant redeclaration of 'query_format'
video_out_internal.h:38: warning: previous declaration of 'query_format' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24258 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:52:20 +00:00
diego
cbd64522f6 warning fix:
vo_aa.c: In function 'preinit':
vo_aa.c:664: warning: redundant redeclaration of 'aa_displayrecommended'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24257 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:51:13 +00:00
diego
12d72c3661 warning fix:
mplayer/common.c: In function 'PutImage':
mplayer/common.c:188: warning: unused variable 'yc'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24256 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:48:53 +00:00
diego
c20f7e99c4 Mark xx function as returning char, fixes:
avi-fix.c:18: warning: return type defaults to 'int'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24255 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:41:16 +00:00
diego
c66a69924b Remove nonsensical #ifdef.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24254 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:38:35 +00:00
attila
1cbb8209ca Assume first xinerama screen, in case xmga could
never figure out on which screen it is.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24253 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 09:15:40 +00:00
voroshil
fb7d88d344 Implement 8/30 format 1 teletext packet decoding
It contains network id, network name, current date and time.

patch from Otvos Attila oattila at chello dot hu



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24252 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 02:37:48 +00:00
kraymer
ce59c5e847 Typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24251 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 00:59:47 +00:00
rtogni
2889dc65d0 BGR15 is also a valid format for 4xm video
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24250 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 22:03:28 +00:00
nicodvb
0bfd6cb4f1 in stream_control() remove redefinition of d in a case block, previously assigned in the same function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24249 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 21:40:09 +00:00
nicodvb
c803ba9baf in open_s() unified failure code in fail:
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24248 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 21:10:41 +00:00
reimar
3bcc77bea7 Fix wrong calculation of nbooleans that causes a crash on 64 bit systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24247 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 17:53:35 +00:00
reimar
949880a056 Set sample_rate and bit_rate from sh_audio as fallback in case sh_audio->wf
is not available.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24246 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 15:51:04 +00:00
reimar
40bb01cb45 Process any waiting commands (got_cmd set). Should fix e.g. smplayer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24245 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 15:21:12 +00:00
diego
e6eeef436b Simplify the addition of -g to some CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24244 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 12:00:55 +00:00
diego
b7ffad3d0a Move common link libs/objects into a variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24243 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 11:58:37 +00:00
diego
11caf018fd consistent linking order
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24242 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 11:52:21 +00:00
diego
d75d0a5171 Do not overwrite config.h unless it was changed. Mostly taken from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24241 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 11:40:25 +00:00
diego
449e6746e3 Simplify linkage parameters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24240 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 11:12:12 +00:00
diego
068d66d0a0 warning fixes:
realcodecs/drv4.c: In function 'RV20toYUV420CustomMessage':
realcodecs/drv4.c:151: warning: unused variable 'temp'
realcodecs/drv4.c:150: warning: unused variable 'pp1'
realcodecs/drv4.c: In function 'build_crc':
realcodecs/drv4.c:263: warning: unused variable 'b'
realcodecs/drv4.c: In function 'RV20toYUV420Transform':
realcodecs/drv4.c:295: warning: unused variable 'crc2'
realcodecs/drv4.c:295: warning: unused variable 'crc1'
realcodecs/drv4.c:295: warning: unused variable 'len'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24239 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 11:08:19 +00:00
diego
952b64b0d3 warning fixes:
realcodecs/drv3.c: In function 'build_crc':
realcodecs/drv3.c:291: warning: unused variable 'b'
realcodecs/drv3.c: In function 'RV20toYUV420Transform':
realcodecs/drv3.c:323: warning: unused variable 'crc2'
realcodecs/drv3.c:323: warning: unused variable 'crc1'
realcodecs/drv3.c:323: warning: unused variable 'len'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24238 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 11:05:40 +00:00
diego
686cfb9f05 warning fixes:
realcodecs/drv2.c: In function 'build_crc':
realcodecs/drv2.c:316: warning: unused variable 'b'
realcodecs/drv2.c: In function 'RV20toYUV420Transform':
realcodecs/drv2.c:348: warning: unused variable 'crc2'
realcodecs/drv2.c:348: warning: unused variable 'crc1'
realcodecs/drv2.c:348: warning: unused variable 'len'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24237 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 11:04:10 +00:00
diego
df14a8fe9e warning fixes:
realcodecs/sipr.c: In function 'RAInitDecoder':
realcodecs/sipr.c:348: warning: unused variable 'temp2'
realcodecs/sipr.c:347: warning: unused variable 'temp'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24236 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:59:12 +00:00
diego
cd9abbea80 warning fixes:
realcodecs/ra.c: In function 'RASetFlavor':
realcodecs/ra.c:344: warning: unused variable 'property'
realcodecs/ra.c:343: warning: unused variable 'flavor'
realcodecs/ra.c:343: warning: unused variable 'numflavors'
realcodecs/ra.c:342: warning: unused variable 'result1'
realcodecs/ra.c:342: warning: unused variable 'numprop'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24235 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:58:30 +00:00
diego
4bdae7c94a warning fixes:
realcodecs/28_8.c: In function 'RAInitDecoder':
realcodecs/28_8.c:238: warning: unused variable 'temp2'
realcodecs/28_8.c:237: warning: unused variable 'temp'
realcodecs/28_8.c: In function 'RASetFlavor':
realcodecs/28_8.c:273: warning: unused variable 'property'
realcodecs/28_8.c:272: warning: unused variable 'flavor'
realcodecs/28_8.c:272: warning: unused variable 'numflavors'
realcodecs/28_8.c:271: warning: unused variable 'result1'
realcodecs/28_8.c:271: warning: unused variable 'numprop'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24234 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:56:48 +00:00
diego
2c013c1875 warning fixes:
realcodecs/14_4.c: In function 'RAInitDecoder':
realcodecs/14_4.c:238: warning: unused variable 'temp2'
realcodecs/14_4.c:237: warning: unused variable 'temp'
realcodecs/14_4.c: In function 'RASetFlavor':
realcodecs/14_4.c:273: warning: unused variable 'property'
realcodecs/14_4.c:272: warning: unused variable 'flavor'
realcodecs/14_4.c:272: warning: unused variable 'numflavors'
realcodecs/14_4.c:271: warning: unused variable 'result1'
realcodecs/14_4.c:271: warning: unused variable 'numprop'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24233 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:55:27 +00:00
diego
bccfdf2cd0 Remove unnecessary fastmemcpybench prerequisite.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24232 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:51:48 +00:00
diego
2c12e91a23 Remove unused #include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24231 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:50:58 +00:00
diego
fa364a03dc Fix a ton of warnings:
warning: incompatible implicit declaration of built-in function 'memset'
warning: incompatible implicit declaration of built-in function 'memcpy'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24230 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:32:46 +00:00
diego
42d1af3f6a Simplify bmovl-test compilation call.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24229 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:29:25 +00:00
diego
70261e715f Fix "incompatible implicit declaration of built-in function 'exit'" warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24228 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:16:10 +00:00
diego
53cdcdb4d3 Mark phony targets as such.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24227 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:13:11 +00:00
diego
b0d0866059 Move fastmemcpybench objects to link against into prerequisites.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24226 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:10:12 +00:00
diego
14b2c39cd6 warning fix:
fastmemcpybench.c: At top level:
fastmemcpybench.c:29: warning: 'mga_next_frame' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24225 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 09:59:23 +00:00