Commit Graph

24978 Commits

Author SHA1 Message Date
diego be69c6d145 Add missing header files, fixes the warnings:
In file included from vf_mcdeint.c:59:
../libavcodec/dsputil.h: In function 'copy_block2':
../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_WN16'
../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_RN16'
../libavcodec/dsputil.h: In function 'copy_block4':
../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_WN32'
../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_RN32'
In file included from vf_spp.c:40:
../libavcodec/dsputil.h: In function 'copy_block2':
../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_WN16'
../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_RN16'
../libavcodec/dsputil.h: In function 'copy_block4':
../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_WN32'
../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_RN32'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25005 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 17:20:27 +00:00
diego c97e68b7b1 Add missing header file, fixes the warnings:
In file included from vf_fspp.c:46:
../libavcodec/dsputil.h: In function 'copy_block2':
../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_WN16'
../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_RN16'
../libavcodec/dsputil.h: In function 'copy_block4':
../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_WN32'
../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_RN32'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25004 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 17:17:48 +00:00
diego 4c67136240 Remove misleading comment and remove unnecessary #includes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25003 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 16:28:37 +00:00
diego 8c2f371e19 Rearrange headers to get rid of an #undef and remove unnecessary headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25002 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 15:44:47 +00:00
diego e20855c92e Remove unnecessary dsputil.h #include, fixes the warnings:
In file included from vf_uspp.c:33:
../libavcodec/dsputil.h: In function 'copy_block2':
../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_WN16'
../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_RN16'
../libavcodec/dsputil.h: In function 'copy_block4':
../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_WN32'
../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_RN32'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25001 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 15:39:08 +00:00
diego 16ad1ac3be #include libavcodec/eval.h instead of manually declaring ff_eval.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25000 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 14:12:19 +00:00
rfelker ca60f3fe0f const fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24999 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 12:52:50 +00:00
rfelker 6ae8dd0e1d ack, can't believe i wrote this crap with void pointer arithmetic
gimme some cola!!!

since the code was disabled and tests had shown it was slower,
i'm just removing it rather than fixing it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24998 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 12:51:43 +00:00
rfelker f713cb0faf begin moving const filter data to .text/.rodata sections
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24997 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 06:58:32 +00:00
rfelker 549d3be0c7 stage 1 of applying const to vf structs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24996 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 06:57:24 +00:00
rfelker f754ec02e5 vf_screenshot does not depend on libpng; it uses libavcodec now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24995 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 06:52:33 +00:00
rfelker 452c2c5652 correct const usage in the option handling code so that tables can be
declared const and moved from .data to .text/rodata sections.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24994 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 06:50:53 +00:00
ulion d1ba6a710e Enable ontop command from mplayer to be sent to mplayer osx.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24993 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 03:49:32 +00:00
zuxy 23fb86c8d8 Sync with Linux kernel with some latest feature bits.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24992 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 01:56:31 +00:00
cehoyos 4be2fcb25e Fix possible null-pointer-dereference in stream_fill_buffer().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24991 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-08 23:07:19 +00:00
cehoyos 2fed92a167 Fix possible null-pointer-dereference in parse_smil().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24990 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-08 23:05:54 +00:00
reimar fb366fbf03 Simplify decode_audio function a bit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24989 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-08 18:14:49 +00:00
ulion e573695a08 Fix pause key problem in correct way, only handle pause cmd when showing menu.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24988 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-08 05:41:26 +00:00
ulion ac46121b3b Fix cmd filter memory leak, free the cmd after filter ate it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24987 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-08 05:19:56 +00:00
ulion c90770493c Handle mouse up event to get double click support from mp_fifo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24986 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-07 01:44:41 +00:00
rathann b5c7ff5192 add support for newer libdca
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24985 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 23:44:53 +00:00
ulion 58ecb061ad Fix mouse right button and middle button incorrect identifications.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24984 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 15:57:36 +00:00
ulion 7ce42e4ebb Fix KPENTER keycode value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24983 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 13:17:37 +00:00
ulion ac78bc4eca Fix the prevent system idle code. Original code also works, but not as expected.
The update function was always called, but it should only be called every 30
seconds.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24982 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 12:52:54 +00:00
ulion 51cd2b0394 Fix the prevent system idle code. Original code also works, but not as expected.
The update function was always called, but it should only be called every 30
seconds.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24981 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 12:40:04 +00:00
ulion 3fd8eb3f8e Warning fixes:
vo_quartz.c:537: warning: passing argument 4 of 'AppendMenuItemTextWithCFString' makes integer from pointer without a cast
vo_quartz.c:539: warning: passing argument 4 of 'AppendMenuItemTextWithCFString' makes integer from pointer without a cast
vo_quartz.c:551: warning: passing argument 4 of 'AppendMenuItemTextWithCFString' makes integer from pointer without a cast
vo_quartz.c:578: warning: ISO C90 forbids mixed declarations and code
vo_quartz.c:1126: warning: ISO C90 forbids mixed declarations and code
vo_quartz.c:1363: warning: passing argument 7 of 'BeginFullScreen' makes integer from pointer without a cast
vo_quartz.c:1393: warning: passing argument 2 of 'EndFullScreen' makes integer from pointer without a cast
vo_quartz.c:1402: warning: passing argument 2 of 'SetSystemUIMode' makes integer from pointer without a cast




git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24980 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 12:12:48 +00:00
diego 808e6280d2 cosmetics: output grammar/spelling fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24979 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 09:54:58 +00:00
diego a75c9a6527 cosmetics: Comment grammar and spelling fixes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24978 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 09:49:55 +00:00
diego 6397fe4346 Reduce excessive verbosity: Move debug messages to the appropriate MSGL
and comment out the silliest ones.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24977 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 09:41:38 +00:00
reimar 5b7c961784 Fix typo in error message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24976 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 08:12:19 +00:00
ulion b1f1d02ceb Fix memory leak caused by after calling mp_input_get_cmd didn't free the cmd.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24975 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 03:41:15 +00:00
nicodvb aa93810437 reindented
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24974 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-05 20:16:06 +00:00
nicodvb a06eb8ac21 10l, setting a non-existent timestamp (default 0.0) when the pts flag isn't set in
the PES header is just wrong; leave the default MP_NOPTS_VALUE instead


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24973 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-05 20:15:09 +00:00
voroshil 0290988bbd Fix memory leak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24972 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-05 16:34:15 +00:00
voroshil f057394851 Fix segmentation fault after audio initialization failure in tv driver.
Error was caused by double call to driver's uninit() routine.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24971 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-05 16:33:29 +00:00
ulion 153e47522c Add include to fix warning:
ao_macosx.c:899: warning: implicit declaration of function 'gettimeofday'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24970 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-05 12:02:21 +00:00
gpoirier dfbcb8d152 sync w/r24954, patch by JRaSH %jrash06 A 163 P com%
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24969 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-05 09:24:01 +00:00
ulion 311e30c11a Warning fixes:
menu.c:303: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:370: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:463: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:537: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:565: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:577: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:597: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:612: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24968 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-05 02:45:59 +00:00
iive 1479f405f6 10l Diego, revert commit 24966.
We do not have policy of restoring bugs when bug is fixed by accident.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24967 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-04 23:39:05 +00:00
diego 3d6a73e3e5 Fix previous incorrect commit, +/- has higher precedence than shifts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24966 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-04 13:41:07 +00:00
diego a6682b3a81 The function names of [rgb|bgr]1[56]to[UV|Y] had rgb<->bgr flipped.
Rename them to match the actual implementation. Fixes issue 162.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24965 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-04 12:34:46 +00:00
diego daa2dbd402 Escape some more '-'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24964 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-04 12:11:55 +00:00
Gabrov ac5885abba synced with r24954
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24963 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-04 11:57:33 +00:00
ulion ecd1cd4168 Old code for dvdsub_id fix assume the global_sub_indices[SUB_SOURCE_DEMUX]
must be zero when use a dvdsub_id greater than max sub id from demux.
To remove the implicit assumption, make it up here.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24962 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-04 05:23:46 +00:00
diego e98794e2ee Avoid short forms; has the added benefit of allowing compilation with gcc 2.95
which complains about 'unterminated string or character constant'.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24961 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-03 22:25:52 +00:00
reimar 95a30bb622 Add an example on how to use slave mode with a fifo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24960 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-03 21:12:07 +00:00
diego 0e4b5d10db Add some parentheses to fix the following warnings:
vo_directfb2.c:1189: warning: suggest parentheses around + or - inside shift
vo_directfb2.c:1190: warning: suggest parentheses around + or - inside shift


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24959 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-03 20:25:00 +00:00
compn 45dded292c add some updates
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24958 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-03 19:14:16 +00:00
reimar 40a4f3c7c6 Fix link to email explaining the paused vf_menu behaviour change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24957 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-03 16:22:45 +00:00
diego 52fa7ffbfd Replace some Hungarian comments, thanks to Denes Balatoni for the translation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24956 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-03 14:56:26 +00:00