Commit Graph

83 Commits

Author SHA1 Message Date
diego 7844cbc3ce Move conditional compilation into the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18927 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-06 13:09:45 +00:00
aurel 95db10787d fix a buffer overflow causing a segfault
(original patch by Vladimir Voroshilov < voroshil _at_ univer.omsk.su >)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18764 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-20 11:48:39 +00:00
rfelker 5878ff9f5a 100000l to the fools who don't know C
These were all found while auditing for malloc(A*B) type bugs.
Removing them makes it easier to find real incorrect usage and makes
the code more readable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18367 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-01 02:04:09 +00:00
albeu f865d5a17e Implement tv_get_color_options() and make tv_set_color_options() return
mainfull values.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18173 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-21 12:45:18 +00:00
reimar 5f65c05e35 make failures during e.g. setting the TV norm non-fatal.
Makes some (crappy *g*) USB cameras work with MPlayer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18074 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-11 10:19:53 +00:00
albeu 0e8dd7511d Try several formats instead of only YV12 if no format was explicitly
requested. Patch from Benjamin Zores <ben -at- geexbox -dot- org> with
a few whitespace changes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17863 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-14 00:45:06 +00:00
wanderer a8235fce3f make demuxer seek and close functions return void, patch by Dominik Mierzejewski
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17175 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-11 17:21:02 +00:00
diego 36e1974be0 Unify include path handling, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:39:25 +00:00
reimar 0a85f24278 implement norm switching, which was already documented??
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16962 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 20:31:27 +00:00
aurel f8617ee059 cycle through tv channels (patch by Andrew Calkin < calkina at geexbox.org >)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16470 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-12 22:48:14 +00:00
rtognimp cd68e1618b Demuxer modularization
Demuxer selection by name with -demuxer command (bakward compatible)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 19:57:47 +00:00
henry 4515c02ea4 BGR formats are ok, too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15420 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 15:31:37 +00:00
iive 80d8313b70 several sets of headers declare global variables in them, which causes multiple definition errors with gcc 4.x
patch by Alexander Strange <astrange ithinksw.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14608 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-29 12:24:43 +00:00
reimar 91aae0d538 100l, buf etc. in af_fmt2str call are already pointers...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14256 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 19:43:13 +00:00
alex 507121f7fe removing AFMT_ dependancy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 17:30:15 +00:00
henry dabdcbabbc setting the norm using text ID instead of numeric
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13979 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-19 13:04:24 +00:00
ranma f8107ca194 Raw audio and video are always keyframes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12035 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-17 03:53:02 +00:00
attila 1723559859 dont mess up v4l volumes
patch by Oswald Buddenhagen <ossi@kde.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11987 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-22 15:21:44 +00:00
henry 70162b5ef8 ALSA 1.x audio out driver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11776 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-11 17:07:32 +00:00
alex 5ddc6023e2 audio id setting support for bsdbt848 by Nikolay Nikolaev <nicknickolaev@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10823 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-06 00:24:05 +00:00
diego 47d2389362 spelling fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10772 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-01 01:21:40 +00:00
alex 5975cc9bbf Settled to CONF_TYPE_IMGFMT which simplified lot of things. Now there's no need to add new img formats to the source, instead you can try it out by providing it in hexa format, and if it isn't supported by the card, you get a nice error message. That's all.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10599 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-13 18:56:29 +00:00
gabucino 3b8074ebf5 From: Kir Kostuchenko <kir@users.sourceforge.net>
Hi, I found that command line options brightness, hue, contrast and
saturation does not works, becouse mplayer apply it, before open tv
(kernel says invalid ioctl). Here are simple fix. Please apply.

This is the correct patch, sorry for the confusion.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10582 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-12 13:25:52 +00:00
henry 7e38b1aefb v4l2 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10538 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-07 12:24:35 +00:00
gabucino bff4b3ee5e I'd like to change tv tuner frequency in the slave mode. So this patch
helps me.

Patch by Kir Kostuchenko <kir@users.sourceforge.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10522 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-04 09:13:10 +00:00
alex 188460e7ee removing my (nonworking) email address
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10369 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-03 20:22:51 +00:00
alex b4d7f9837c warning fixes by Dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10243 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-03 17:43:49 +00:00
rfelker eb0a6969bf 1000000000l
default fps has been broken on ntsc for a LONG time because of this
nonsense! (29.00?!?) no idea why no one caught it, i just have
fps=29.97 in my config file... i hope the bsd code works; i can't test
it. btw, the (int)*(void **)arg stuff is total nonsense, no idea how
that even works...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10020 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-29 02:23:47 +00:00
alex 7e677ff7cf abilty to set tv channel by name on commandline, patch by Ivan Szanto <szivan@duticai.TWI.TUDelft.NL>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10012 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-28 16:11:42 +00:00
faust3 a8108b443e mingw fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9928 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-18 18:36:22 +00:00
alex 44aeed4643 channel finetuning cmdline support, patch by Ivan Szanto <szivan@duticai.TWI.TUDelft.NL>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9890 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-09 16:07:45 +00:00
henry f7756121ee color equalizer for tv input
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9664 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-23 15:05:14 +00:00
henry 9a1bfa7ec1 hardware mjpeg encoding using v4l by Iván Szántó <szivan@freemail.hu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9621 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-19 16:26:58 +00:00
albeu 64839d94ae 10L never blowup an option pointer !!!!
That fix Gub's bug (sorry for the delay ;)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9520 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-03 10:59:07 +00:00
henry 2639766080 make tv non-seekable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9502 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-25 08:22:00 +00:00
arpi a102c62fac sanity checks - patch by Fabian Franz <FabianFranz@gmx.de>
cache results of strchr() calls


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8956 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-14 23:15:36 +00:00
arpi 4681b22e3a 10l? :)
patch by Stephane Jourdois <mplayer-dev-eng@rubis.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8821 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 13:12:09 +00:00
henry 8c71d7179a -nosound fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8800 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-05 14:58:05 +00:00
henry 29ab7de580 user friendly channel tuning + 10L fix in tvi_v4l (by Stephane Jourdois)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8628 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 22:57:39 +00:00
henry bfddb0aa03 add a TV_SET_CNANNEL command
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8495 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-19 10:09:43 +00:00
henry 053fb6d2ab 1000L for messing up cvs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8488 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-16 23:38:56 +00:00
henry 396b7d7e56 handle bogus norm parameter; check for errors when setting norm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8487 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-16 23:27:39 +00:00
henry 0c71a7f53c support for exotic norms
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8478 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-16 17:05:49 +00:00
michael 01c201dbe8 warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 10:58:14 +00:00
arpi f859d013a8 *HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-06 23:54:29 +00:00
henry 181233f35f added an option for specifying the size of capture buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7906 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-25 09:42:41 +00:00
henry 5714b89de2 add an option to force audio recording when a tv card reports no audio sources
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7836 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 07:56:13 +00:00
alex 9dc4d5f6ff removed the mess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7808 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-19 20:56:28 +00:00
alex 108e2a2130 set position in channel list on startup. note: hope one day we will get cleaned the int->float->int sutff ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7807 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-19 20:55:06 +00:00
arpi d483a015a2 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00