Commit Graph

32 Commits

Author SHA1 Message Date
Uoti Urpala 0eb321bf2c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
Uoti Urpala 0c6f667896 Merge svn changes up to r28755 2009-02-28 05:58:59 +02:00
reimar 8605d7090e Use memset to make sure all parts of struct sockaddr_in are always initialized.
Problem reported by [kmkaplan+mplayer-dev-eng (at) kim kim-minh com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28732 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-25 12:51:20 +00:00
Uoti Urpala 259ea9d703 Merge svn changes up to r27573
Conflicts:
	libmpcodecs/vd_ffmpeg.c
2008-09-10 23:59:08 +03:00
diego 3311a2ae9c Replace casual GPL notices by proper license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27541 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 14:09:51 +00:00
Uoti Urpala b56858342f Merge svn changes up to r27514 2008-09-03 10:16:30 +03:00
diego 83651c8bfa Remove Windows-specific #ifdefs, the file does not compile on MinGW anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27513 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 22:34:27 +00:00
diego 0e970b49f0 Put '#define closesocket close' under proper '#ifndef HAVE_CLOSESOCKET'
preprocessor condition.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27506 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 07:35:05 +00:00
diego 3af860b877 Rename HAVE_WINSOCK preprocessor condition to HAVE_WINSOCK_H.
This is what it is called in FFmpeg and more consistent with other
names for similar conditionals. This fixes a potential compilation
failure on MinGW, as described in Bugzilla #1262.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27493 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 20:05:08 +00:00
Uoti Urpala de56d2d9f5 Remove variable arguments from vo control() functions
No voctrl uses them any more, and using them would not be a good idea
because it makes forwarding arguments to other functions harder.
2008-04-23 13:41:03 +03:00
diego c03c4b5431 Wrap '#include <sys/mman.h>' in HAVE_SYS_MMAN_H.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26137 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-01 10:31:51 +00:00
rik 1045dcfb00 fix bug in error message (found by Diego through a compiler warning)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25703 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 00:10:02 +00:00
diego 8764815186 Remove unused static variables, fixes the warnings:
vo_bl.c: At top level:
vo_bl.c:64: warning: 'yoff' defined but not used
vo_bl.c:64: warning: 'stride' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 11:07:53 +00:00
diego 6a7f407a96 Remove unused variables, fixes the warnings:
vo_bl.c: In function 'draw_slice':
vo_bl.c:329: warning: unused variable 'src2'
vo_bl.c:328: warning: unused variable 'src1'
vo_bl.c:325: warning: unused variable 'j'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25548 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-30 11:05:53 +00:00
rik b15fe151d6 change license from GPLv2 to 'GPL v2 or later', requested by Diego, I can do that since I wrote the files (based on other stuff from MPlayer (and some external things under GPL v2 or later))
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25454 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 21:43:12 +00:00
reimar 2bf8c692f1 Mark the vo_functions_t definitions as const where possible.
This is not possible for xover and anything supporting vidix
due to horrible hacks.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25248 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:39:15 +00:00
reimar 909887bdbe Make vo info structs const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25244 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:06:03 +00:00
reimar 5d02058b47 Do not use fast_memcpy for small size copy, esp. when the size is constant
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23476 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 15:09:49 +00:00
reimar 6a09e8e2ed Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:27:54 +00:00
diego e1547563a9 cosmetics: Fix some common typos, sepErate --> sepArate, deciSSion --> deciSion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22301 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-21 10:05:46 +00:00
ivo cd55954e4e Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
return values can be negative (VO_ERROR, VO_NOTAVAIL and VO_NOTIMPL), so it's
changed to int now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16172 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 01:24:37 +00:00
rik 2d730f1fcc --Patch by Stefan '1stein' Schuermans <1stein@schuermans.info>:
the bugfix of the "grayscale" output scheme introduced a bug in the header
writer for the stream output, this patch corrects that


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15953 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 12:35:43 +00:00
henry dbb001bae2 replace VO and VF numeric flags with #defined identifiers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 15:52:38 +00:00
rik d20d486f74 --Patch by Stefan '1stein' Schuermans <1stein@schuermans.info>:
bugfix of the "grayscale" output scheme; the height and width of the movie
were written als -1 and -1 into the resulting *.bml file


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15159 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-14 12:44:28 +00:00
diego 5b0d96c6b4 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-28 01:15:53 +00:00
rik 896d62f4b9 --Patch by Stefan '1stein' Schuermans <1stein@schuermans.info>:
on the CCC-Camp ICMP2 (www.icmp2.de) this weekend, some friends and
I played around with our Blinkenlights replicas and found a little
bug in your MPlayer Blinkenlights outpur driver "vo_bl". The
Blinkenlights UDP-Protocol contains the maximum grayscale value
"maxval" (e.g. 255 for 8 bit) instead of the number of grayscales
(e.g. 256 for 8 bit). Because some programs are very strict
concerning this value, we had to patch mpalyer to get it to work.

Today, I've added an output scheme "hdl" for the Haus des Lehrers in
Berlin, on which an installation with grayscales was done last
winter. Additionally, I've also added an output scheme named
"grayscale" that adapts the size of the UDP packets to the size
used with "-vf scale -zoom" that we will need for a project (a room
with over 15000 pixels at the walls and floor) next year.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13001 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-11 13:39:32 +00:00
alex 2283b6305f Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10595 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-13 16:29:32 +00:00
diego 6ac4f22567 Networking support under MinGW.
Patch by flo/yepyep <flodt8@yahoo.de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10282 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-11 16:48:09 +00:00
alex 85cbbc3530 Using recv/send instead read/write for proper MinGW support (it's a 4.2BSD standard). Patch by FloDt <flodt8@yahoo.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10207 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-29 19:36:58 +00:00
rik 563dce2146 compilation fix by Sven Neumann <sven@gimp.org> of Blinkenlights fame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8172 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-12 20:37:36 +00:00
alex 6811f96358 removed get_info, using the same sheme as in libmpcodecs instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-11 15:22:10 +00:00
rik 9fe087d53e extensible blinkenlights driver, can currently be used for the Arcade http://www.blinkenlights.de/arcade
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7327 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-08 22:41:53 +00:00