Commit Graph

32 Commits

Author SHA1 Message Date
nicodvb cc5373d7ca removed useless parameter :type from -dvbin (the frontend type is reported by the card)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26423 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 20:36:57 +00:00
nicodvb e23c244ee7 removed defunct options :vid and :aid from -dvbin (they were useless from the start)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26422 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 20:30:36 +00:00
nicodvb b867e95584 search channels.conf in mplayer's instdir if all other searches fail; patch by foxcore gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26155 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-03 22:28:07 +00:00
reimar 8c63f24152 Remove some unused extern variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25720 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 12:37:30 +00:00
reimar 6f616c316d stream_opts should be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25719 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 12:34:42 +00:00
nicodvb 1fd25fed63 10l, in dvb_free_config() channels' names must be free individually
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25417 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-15 21:06:58 +00:00
nicodvb 22d9f6ea0c removed the obscene priv->stream entry. Someone must have injected vodka in my milk when I wrote it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25408 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-15 13:37:41 +00:00
nicodvb a9d2f4db42 get rid of the file-static dvb_config and free the config at close() . Patch by Andrew Calkin and me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25407 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-15 13:30:44 +00:00
nicodvb c5ad15d8c0 dvb cleanup: call dvb_(set|step)_channel() without dereferencing stream->priv (1000l to me)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25405 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-15 13:05:06 +00:00
nicodvb bcf142a30f fix memleaks; patch by andrew calkin from gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25383 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-12 22:54:20 +00:00
reimar dd2fcb4370 stream_opts arrays should be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25270 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 21:37:08 +00:00
reimar b8a403f124 Make m_option_t arrays referenced by cfg-common.h const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25269 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 21:26:23 +00:00
reimar cd3d3369e1 Mark all stream_info_t as const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25239 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 13:22:53 +00:00
nicodvb 3d1e0439ea removed unused variables and parameters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24903 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-30 22:30:15 +00:00
diego 01d92a32ad cosmetics: typo fix UNSUPORTED --> UNSUPPORTED
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24277 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 22:38:45 +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
reimar 4c4a1070fe Avoid code duplication and ugly config.h hack by using av_strlcat/av_strlcpy
instead of plain strlcat/strlcpy


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23723 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-05 22:01:07 +00:00
reimar 5fa17cb7f2 get rid of useless *alloc casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23649 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 13:27:03 +00:00
reimar fdf74e7399 Set errno to 0 after printing it, not before
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23506 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-08 07:45:36 +00:00
nicodvb bcafc11cc0 replaced 2 instances of sprintf() with snprintf() and one instance
of strncpy() followed by string termination with strlcpy();
patch by njkain gmail com. This patch is intended to render code
easier to audit against buffer oveflows


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22420 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 13:10:31 +00:00
diego 4f9a4a72c9 Fix FSF address and otherwise broken license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21995 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-22 08:02:06 +00:00
nicodvb 3f4d9c9c09 in dvb_get_config() open the frontend in READ_ONLY mode for probing (worksaround some buggy driver)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21852 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-07 13:05:59 +00:00
nicodvb 01ace0891b don't add pid 0 if it's already present in the list
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21832 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 11:09:27 +00:00
aurel 53cef9d1a7 remove headers included twice
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21481 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-03 21:18:59 +00:00
aurel 12469e0c2e use strchr() instead of index()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21480 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-03 21:17:51 +00:00
nicodvb 30155960a4 match exactly card number N specified, rather than the N-th actually usable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21257 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 12:03:23 +00:00
nicodvb 9799ea907a riformatted after previous commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21050 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-19 12:06:28 +00:00
nicodvb 88e490defa if in the list of pids appears at least one 8192 (while TS) remove all other pid filters
and don't add pid 0, either


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21049 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-19 12:05:11 +00:00
nicodvb f3e6bf62a8 use calloc() instead of malloc()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20676 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-04 23:05:38 +00:00
nicodvb ac9b9fcd19 nonsense removal: compare old and new frequency in order to skip tuning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20675 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-04 23:03:52 +00:00
ben 2410b87a64 proper inclusion of demuxer.h (including libmpdemux in Makefile only was to make previous split easier)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19318 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-04 17:01:29 +00:00
ben 51138f066e renamed dvbin.c to stream_dvb.c for consistency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19302 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-03 19:16:30 +00:00