Commit Graph

1786 Commits

Author SHA1 Message Date
nicodvb 5caf4aa1b9 replaced 1 instances of sprintf() with snprintf(); 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@22421 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 13:16:31 +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
voroshil e1704a4877 tv driver loading rework. As a side effect "-tv driver=help" option is
implemented.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22399 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-01 18:38:00 +00:00
ivo 2477fdf577 winsocks expects an int in milliseconds instead of struct timeval to set
the timeout of a socket

patch by Zuxy Meng, zuxy dot meng ... gmailcom



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22397 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-01 14:57:44 +00:00
reimar 3462da0b5c Replace MIN with FFMIN
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22396 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-01 12:54:38 +00:00
reimar 7e316c542e Use libavutil AV_RB/AV_WB macros instead of defining out own variants.
Probably fixes http://bugzilla.mplayerhq.hu/show_bug.cgi?id=767 as a side-effect


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22394 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-01 12:51:33 +00:00
nicodvb 667e45974a cleaned stream_seek() : simplified the alignment to STREAM_BUFFER_SIZE or s->sector_size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22380 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-28 23:40:39 +00:00
rtogni ef4a45551b Add support for smil playlist served over realrtsp
(audio and video playback only, not full smil support)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22260 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 15:57:50 +00:00
reimar a2d923c273 Simplify code by using separate variables for large common expressions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22222 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-15 15:54:06 +00:00
rtogni acb11de6b9 More strncat() misuses.
Reported by Sascha Sommer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22207 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 18:00:55 +00:00
rtogni eacf95dc11 strncat() misuses, may have been exploitable.
Reported by Sascha Sommer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22206 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 18:00:06 +00:00
rtogni 5f85ff89ea More boundary checks for fixed-length arrays. Some of them may have been
exploitable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22203 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 17:54:18 +00:00
reimar d6e4924711 Quick hack mostly for documentation purposes to make -aid work with mms://
Sample: mms://212.191.227.121/308gwY8TZqvHUpsq4dbZnsijbiCi9j3KsguBrfbm2FiDMlBadHuF0g0%2b1%2bUKG84F2Sl6DVTxHNtNuMxa%2f55j0imtiKswx8ev7cEYxvNuAlSBioF3nYmzTAM71xKiTHjM6%2fqejrQgFg7srIdntNoIw%2fyw%3d%3d/1


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22177 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-08 17:03:24 +00:00
rathann 45defa1aa0 Fix a few gcc warnings, approved by Diego and Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22160 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 23:46:08 +00:00
reimar f58e52ba6e Use defined() syntax instead without ().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22132 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-04 16:08:29 +00:00
rtogni 288f3e1a13 Add timeout to tcp connections, avoid hanging forever.
Based on patch for bugzilla #673


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22131 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-04 14:18:56 +00:00
uau 152284fb0f Fix base64_encode() max output length checking.
Made HTTP auth fail if sum of username+password lengths was below 3.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22049 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 19:25:03 +00:00
rtogni b18dcf9f0e Accept rdt packets with "is-reliable" flag set
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22041 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 12:49:44 +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 1e93b37a87 at open() assign *file_format=DEMUXER_TYPE_MPEG_PS to avoid useless demuxer probing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21944 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-16 22:38:26 +00:00
diego d1f409719c GNU/kFreeBSD support, closes Bugzilla #704.
patch by Petr Salinger, Petr.Salinger seznam cz


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21866 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-10 14:56:23 +00:00
rtogni 34a57f0ec5 Don't drop last rdt packet on eof
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21860 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-09 21:32:25 +00:00
nicodvb ba8331d618 removed static declaration before non-instantiated struct; patch by cehoyos ag or at
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21859 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-09 20:02:13 +00:00
voroshil 3f102a3f59 Two crash issues fixed:
1. Freeing of unallocated memory when tv driver fails to initialize itself.
2. Call to tv driver's tv_uninit more than once.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21855 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-08 05:55:46 +00:00
reimar 981c6999ea Make sure we do not crash when eof is reset, e.g. due to an attempt to seek.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21854 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-07 19:23:59 +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 fbda90a926 reindented
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21843 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 18:54:22 +00:00
nicodvb 7512e188a4 init to 0 feparams before tuning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21842 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 18:51:01 +00:00
nicodvb d72485f032 removed useless reporting code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21834 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 11:59:33 +00:00
nicodvb 5aa2b2b489 moved actual tuning code from check_status() to tune_it()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21833 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 11:43:44 +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
rtogni 8f46652d6d More free() that were forgotten in r21806 memleak fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21808 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-01 22:49:13 +00:00
rtogni ac5d629479 Memleak fix (implement sdpplin_free() and use it)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21806 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-01 22:32:09 +00:00
rtogni 959bb649e9 Fix invalid memory access if identifier is unknown
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21805 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-01 17:57:16 +00:00
rtogni f865a13941 Fix potential buffer overflow in asm rules matching code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21799 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-31 13:27:53 +00:00
nicodvb 6c417510ba reindentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21793 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-30 22:43:12 +00:00
iive a36aff154c Fix double free of *http_hdr at server error.
In http.c::http_streaming_start() *http_hdr is allocated
then assigned to stream->streaming_ctrl->data
if server returns error *http_hdr is freed before function returns.
However the copy in ->data remains and is
later freed (again) by network.c::streaming_ctrl_free().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21792 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-30 13:23:39 +00:00
nicodvb 70904c9204 replace call to UDFFindFile() (that is not part of the public API) with DVDOpenFile()
patch by Klaus Muller (mk.2001 web de)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21747 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-23 23:13:11 +00:00
nicodvb 1007b27b6d fix compilation on the most delicious variant of unix (mingw) that lacks S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21721 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-21 22:40:51 +00:00
nicodvb e4876ebe46 reindented after yesterday's commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21704 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-20 20:30:08 +00:00
nicodvb d1331f47c7 support for writing over smb shares
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21690 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-19 22:31:10 +00:00
nicodvb b8ec24807b in WRITE mode open the output file with mode 0666; umask will filter it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21689 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-19 21:11:58 +00:00
nicodvb ac94650597 support functions for writing to streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21675 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-18 20:56:24 +00:00
nicodvb fc2b02cf7e implemented STREAM_CTRL_GET_SIZE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21674 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-18 20:55:12 +00:00
nicodvb 874627a371 new STREAM_CTRL_GET_SIZE to get size of output stream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21673 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-18 20:54:38 +00:00
nicodvb 4dac2f20eb in STREAM_WRITE mode open the stream with O_RDWR|O_CREAT, S_IRUSR|S_IWUSR and disable seek_forward for pipes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21672 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-18 20:53:40 +00:00
nicodvb 8bd29fd6c5 added member and definitions for output streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21671 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-18 20:50:31 +00:00
nicodvb 1b03ddac28 support for limiting dvd speed; patch by Tobias Diedrich (ranma tdiedrich se)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21652 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-17 18:10:49 +00:00
nicodvb 2ac9216641 simplified aid management in dvdnav_lang_from_aid(); patch by Joakim Patte
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21629 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-15 23:12:50 +00:00
rtogni df3d2e16f1 Force lavf on flv streams. Closes bugzilla #354
Fixes http://portal.vpod.tv/jmbillaut/11439/stream/cdn
Patch based on a suggestion by compn


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21628 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-15 23:09:01 +00:00
nicodvb b55a18019f implemented dvdnav_lang_from_aid() to retrieve audio language
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21619 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-14 23:08:09 +00:00
nicodvb 1b5ce67b7e added dvdnav_aid_from_lang() to support -alang
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21616 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-14 22:11:43 +00:00
reimar 1f2f5a5ea9 Add missing buf.memory = V4L2_MEMORY_MMAP; initializations.
Patch by Laurent Pinchart {laurent pinchart <at> skynet be}


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21603 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-12 19:17:47 +00:00
reimar 12e48b5cd0 Make sure closesocket is called.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21583 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 19:47:24 +00:00
reimar 6a2fc8dd2c STREAM_UNSUPPORTED is -1, so use the former for return value in all places.
Thanks to Nicolas Baradakis (nbk sitadelle com) for noticing.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21582 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 19:38:41 +00:00
reimar ee08a2d2d3 Make sure stream->fd is set correct (esp. to -1 on error when fd is closed)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21581 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 19:35:39 +00:00
nicodvb a59ebe0c2d added function to return the language of the specified subtitle id. Patch by
o o
 O tvos Attila


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21576 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 17:25:54 +00:00
reimar b3241c226a ID_SUBTITLE_ID should show the -sid number, not the vobsub id also for dvd subs.
Patch by Lehel Bernadt [lehel pmc-services hu]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21570 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 13:17:54 +00:00
reimar f847af0e29 Fix misplaced http_free
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21558 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 19:50:08 +00:00
reimar fd020fc4f7 Fix potential endless loop in http_streaming_start due
to not resetting redirect.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21557 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 19:34:46 +00:00
reimar 5129d87b43 Fix lots and lots of potential memory/fd leaks in http_streaming_start
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 19:33:28 +00:00
nicodvb 266f5de2bb export spu palette; part of a patch by Otvos Attila
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21554 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 19:23:35 +00:00
reimar 29ec343e07 Avoid memory and fd leaks in asf streaming open code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21553 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 19:12:51 +00:00
reimar a0897b21c1 Forgotten closesocket on error, patch by
Nicolas Baradakis  <nbk sitadelle com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21552 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 18:57:48 +00:00
reimar 5adaad47de Close fd on error.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21551 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 18:54:12 +00:00
reimar 18004d2d98 Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-07 11:58:07 +00:00
reimar f030c777b8 Simplify NEXT_LINE macro and put most of it in a separate function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21520 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-06 12:25:52 +00:00
reimar a900d6f59a remove useless and incorrect const-removing cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21519 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-06 12:23:32 +00:00
reimar fe8c94ca55 Do not define _GNU_SOURCE, it is not necessary and causes a warning if it is
already defined


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21518 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-06 12:19:30 +00:00
reimar ddf1ca2f44 Make sure invalid protocols are rejected instead of treated
just like file://


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21509 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-05 18:30:48 +00:00
reimar 84c2a2c927 Add full support for en-/disabling cddb support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21495 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-04 20:20:32 +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 7e876cb095 doxygenized dvdnav_sid_from_lang() and dvdnav_number_of_subs()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21440 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-02 14:50:12 +00:00
diego df1a4c9f20 Move system headers before libavutil headers to work around build issues on
Mac OS X, redefining always_inline causes problems.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21434 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-02 11:09:01 +00:00
diego cac6c0eea2 Remove bswap.h, use libavutil/bswap.h instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 15:02:45 +00:00
nicodvb 94ec6dbf31 cosmetical reformatting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21349 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 23:25:08 +00:00
nicodvb dfdc991901 feed the content of NAV_PACKET to the demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21348 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 23:21:23 +00:00
diego a96d2ce940 Add a config.mak variable for CDDB.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21342 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 22:02:06 +00:00
diego 2a86b5b99e FFmpeg-style dependency declaration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21325 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 13:42:36 +00:00
diego e75bb06919 cosmetics: Merge SRCS together, alphabetical order, whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21320 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 12:09:58 +00:00
diego b1edda22a6 cosmetics:indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21318 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 12:02:56 +00:00
diego 11cbd174c7 Untangle dependencies that are handled by configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21317 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 12:00:49 +00:00
diego c6ed0d26bb Remove unused LIBAV_INC variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21316 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 11:48:29 +00:00
diego dc2be42703 Merge common parts of all Makefiles into one file included by all.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21275 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 18:12:36 +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
ben 1e30c2e5ae keep nav highlight event in dvdnav priv structure
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21235 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 17:44:22 +00:00
diego 27b0177662 Remove superfluous comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21222 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 16:12:36 +00:00
nicodvb a813415ee7 support for comma-separated language codes in -slang
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21220 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 15:00:08 +00:00
reimar 1fe718fd3c spurious () like in ({code;}) probably is not valid C, icc 9, definitely
will not compile it, and whatever it is supposed to be good for it
does not seem to be needed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21218 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 13:39:21 +00:00
ben 42eecb4f1b better nav highlight handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21216 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 13:03:51 +00:00
nicodvb f313243ca1 removed unused members and variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21215 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 12:37:47 +00:00
nicodvb cc794c93bb COSMETICS: consistently reformatted after ben's mess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21214 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 12:19:15 +00:00
nicodvb 394129086b added code to identify subs language and count; needed for forthcoming support for -slang
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21213 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 12:17:34 +00:00
ben c913e7dba1 support for dvdnav menu buttons overlay as simple alpha boxes (rework from Otvos Attila's series of patches)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21209 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 11:20:02 +00:00
reimar cb10c90e19 cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21142 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-21 16:27:05 +00:00
reimar 1daf47f7d0 Also support absolute url redirection, e.g. http://www.youtube.com/v/buKaqRG2SFA
(video does not play anyway though).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21141 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-21 16:26:38 +00:00
diego cf4bf03dc2 Unify dep/depend targets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21096 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-20 11:18:01 +00:00
voroshil f41cff8360 new slave command: radio_step_freq
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21058 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-19 16:15:05 +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
voroshil c9b485e94c Add *BSD BT848 radio support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21001 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-18 06:53:33 +00:00
diego 8cf4397274 Rename libdvdread to dvdread. We really only include only the dvdread
subdirectory of libdvdread.  This will also allow getting rid of some
local modifications.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20997 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-18 00:33:01 +00:00
voroshil acce4eff13 add public wrapper for get_frequency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20984 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-17 14:36:13 +00:00
voroshil c4c48f002a Change verbosity level from MSGL_V to MSGL_INFO for "Current frequency is"
message in stream_radio.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20983 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-17 13:42:46 +00:00
nicodvb 6e28f63e36 consistency fix: STREAM_CTRL_GET_TIME_LENGTH and STREAM_CTRL_GET_CURRENT_TIME now return time in (double) seconds
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20867 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-12 17:19:56 +00:00
nicodvb 61f29af978 make fail STREAM_CTRLs related to seeking/fetching time/chapter when the cache is enabled: they can't work atm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20856 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-11 13:02:39 +00:00
nicodvb f544f53ceb idenfify now shows the timings of chapters of the chosen pgc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20828 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-10 00:36:39 +00:00
nicodvb d7e32a0e84 one more deuglification
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20826 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-09 22:41:45 +00:00
nicodvb 0df02c3583 COSMETICS: renamed dvdnav_priv to priv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20825 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-09 22:24:57 +00:00
voroshil 3843d10a5e Add missed 'break'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20822 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-09 19:03:35 +00:00
voroshil cb6497bd3c Move non driver-specific block to non-driver specific procedure, to avoid
unnecceduplicating code.
Avoid calling set_volume on no-initialized radio device in close_s.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20812 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-09 13:09:48 +00:00
nicodvb 9451809971 changed ugly sizeof(*type_ptr) width sizeof(type)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20804 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-08 23:18:56 +00:00
nicodvb eb9f86976f COSMETICS: reformatted this ugly mess in a consistent manner
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20802 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-08 23:05:33 +00:00
reimar c407b9b070 Support URL redirections that do not specify full URL.
Fixes crash with mplayer -playlist http://www.radioseven.se/radioseven.pls.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20800 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-08 22:42:31 +00:00
voroshil 09621fb285 Adding ability to check allowed frequency range.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20774 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-08 07:02:43 +00:00
nicodvb 5cc6005c86 support for -dvdangle
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20770 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-08 00:11:42 +00:00
nicodvb 81bc02a02a implemented STREAM_CTRL_GET_CURRENT_TIME and STREAM_CTRL_SEEK_TO_TIME (precise seeking)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20762 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-07 22:49:56 +00:00
nicodvb f8bea9a082 added definitions of STREAM_CTRL_GET_CURRENT_TIME STREAM_CTRL_SEEK_TO_TIME
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20760 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-07 22:46:35 +00:00
voroshil b3667eaa56 Replace enneccesery O_RDWR with O_RDONLY
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20754 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-07 18:39:38 +00:00
voroshil 506cc511a7 Restoring volume level of radio card on exit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20753 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-07 18:27:40 +00:00
rtogni 39d80427bb printf->mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20727 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-05 20:18:37 +00:00
reimar 1eb7bdf866 Fix compilation: forgotten mp_msg.h include
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20717 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-05 17:43:25 +00:00
rtogni 4d3aed390e printf ->mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20715 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-05 17:31:28 +00:00
rtogni 506b4783ec Do not use abort()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20713 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-05 17:08:36 +00:00
nicodvb f2a5c40ac7 cosmetics: reformatted with only tabs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20677 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-04 23:07:55 +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
henry 3a0f1fa219 changed email address
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20662 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-04 10:21:52 +00:00
diego 0384045e30 Streamline and simplify internal vs external libdvdread handling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20651 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-03 22:03:58 +00:00
diego 376951ca72 libmpdvdkit2 --> libdvdread, it just contains libdvdread now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20631 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-03 13:48:52 +00:00
reimar 8641419c3d More code shuffling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20603 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 20:03:32 +00:00
reimar 9b50176ab6 cosmetics: move WIN32 read_toc code to allow for summarizing more common
code of the other variants.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20602 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:57:44 +00:00
reimar 2bd25a0093 Avoid code duplication for "last" toc entry.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20599 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:41:03 +00:00
reimar 0ac0489881 simplify/unify read_toc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20598 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:24:54 +00:00
reimar fbfa3ecb6a Factor out common code in stream_cddb read_toc function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20597 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:14:28 +00:00
reimar 78f762c11e Remove useless code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20595 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:02:01 +00:00
rtogni 6152f60163 printf -> mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20546 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-30 22:32:04 +00:00
rtogni 13636fce07 Realrtsp authentication
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20543 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-30 21:55:58 +00:00
nicodvb de0e99ce19 support for -chapter option (same semanthics as for dvd://)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20425 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-23 22:18:08 +00:00
nicodvb 8c1284a537 simplified code to handle titleset transition (removed useless assignment)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20423 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-23 21:17:32 +00:00
nicodvb 38857d2927 spell fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20422 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-23 21:07:24 +00:00
nicodvb 2609080340 don't play any other title other than N when N is specified (with dvdnav://N)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20421 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-23 21:04:31 +00:00
ben fcee7ea18f bails out if cdparanoia can't read cd (avoid lockup)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20201 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-13 19:07:11 +00:00
diego fcd45c5111 slight overall verbosity reduction
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20191 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-12 22:24:19 +00:00
ods15 ee88e6f26f gcc 2.95 fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20164 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-11 20:53:33 +00:00
ptt 68613bbee7 added OSD audio switching visualization
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20162 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-11 17:25:46 +00:00
uau f464de2bc9 Change occurrences of "(int)*(void **)arg" to "*(int *)arg".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20151 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-10 22:17:03 +00:00
reimar b47b78a8d2 Forgotten http_free on send error.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20106 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-08 09:32:30 +00:00
corey c3c17fc952 Print current DVD title as ID_DVD_CURRENT_TITLE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20092 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-06 19:06:59 +00:00
nicodvb c04dc45de0 warn the user to disable the cache when playing dvdnav streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20032 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-04 09:32:38 +00:00
ben a6bff74c78 removed ivtv driver dependancy in favor of native V4L2 MPEG API (requires Linux 2.6.18 and above)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19998 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-27 20:26:38 +00:00
ben ed909ff5d5 cosmetic renames because pvr support will soon be less ivtv driver dependant
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19982 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-25 20:36:45 +00:00
nicodvb b6a700727e made file-static new_dvdnav_stream() and dvdnav_stream_read()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19920 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-20 21:09:32 +00:00
nicodvb 2d85e0c538 removed definitions of no more used or file-static functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19919 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-20 21:08:38 +00:00
nicodvb b578d8ccbf introduced new MP_CMD_DVDNAV_MOUSECLICK command (bound to mouse0);
it's used to activate the button corresponding to the last mouse position.
This is a workaround against possibly buggy implementation of 
upper_lower/upper_button_select() and friends; will be removed when
possible


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19918 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 23:50:21 +00:00
nicodvb eadc766b62 removed dead code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19915 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 22:01:27 +00:00
jonas 776787600d Іnitial button value is -1. Only (button>0) is a correct button selection.
Initialized "dvdnav_status_t status" explicitly for clarity.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19914 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 21:42:43 +00:00
nicodvb 9490ae823a permit seeking to 0: there's no reason to prevent it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19901 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 22:02:43 +00:00
nicodvb 126e5baa1e in the previous commit I forgot to set s->end_pos=0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19900 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 21:26:26 +00:00
nicodvb a26e041c79 at titleset change call update_title_len() to reset stream->end_pos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19899 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 21:22:37 +00:00
nicodvb aa278680ac don't seek until dvdnav_get_position() returns something meaningful
(len > 0), or dvdnav may crash or complain.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19898 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 21:12:22 +00:00
diego 821b4a2dc7 Restore original copyright notice as found in xine and xine-mms where this
code originated.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19888 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 13:00:51 +00:00
nicodvb 78992c7fdc report mouse coordinates after movement to dvdnav; this permits to enable button selection using the mouse; patch by Jonas Jermann and me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19857 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-16 15:25:31 +00:00
nicodvb 8d8bca056c at start, when not playing a specific titleset, try to call the Title menu (as is common practice among players)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19848 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 22:43:48 +00:00
eugeni 31732df54d Change demuxer for "application/octet-stream" http streams from
ASF to UNKNOWN (autodetect).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19847 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 21:34:38 +00:00
nicodvb 41014a19fb in mp_dvdnav_handle_input() update current button only if the status of the previous operation succeeded; patch by Jonas Jermann
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19846 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 17:50:10 +00:00
nicodvb 1749b99907 dvdnav_stream_reset() should be called on dvdnav_priv->dvdnav not on dvdnav_priv; patch by Jonas Jermann
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19845 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 17:46:36 +00:00
nicodvb e9f8d95a4c removed code that propagated the slave command dvdnav_event that hasn't been handled for years; patch by Jonas Jermann
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19844 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 17:42:13 +00:00
nicodvb d98901ad15 when cmd == MP_CMD_DVDNAV_SELECT set reset=1 only if dvdnav_button_activate() succeeds, to avoid unneeded resets in main()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19842 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 17:18:47 +00:00
attila 840a77bd06 * remove extern definitions of functions in .c files
* create new .h files where necessary

todo:
* go trough other files than mplayer.c
* vf_menu_pause_update()
* mp_input_register_options()
* import_playtree_playlist_into_gui()
* import_initial_playtree_into_gui()

For more infos see http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-September/045683.html
( 20060902133225.2cc82aec.attila@kinali.ch on -dev-eng )


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19814 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-12 16:24:23 +00:00
voroshil e409a93e36 ability to pass channel name (not only number) to radio_set_channel
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19799 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-11 18:41:14 +00:00
nicodvb 3606773eff at start, reset dvdnav at the beginning of the stream after the first read (that is done to workaround a bug in dvdnav from cvs)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19787 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-10 10:53:58 +00:00
nicodvb 311e24b548 try to start from the root menu skipping all intros when playing dvdnav://-1; it's not guaranteed to work
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19786 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-10 10:48:36 +00:00
nicodvb caa3c79989 permit to select previous dvdnav menu, in the order chapter->title->root
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19783 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-10 10:25:48 +00:00
nicodvb aab523e18b in mp_dvdnav_handle_input() assign the currently selected button, shown in the OSD by main()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19780 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-09 22:40:22 +00:00
nicodvb f817575e5f added mp_dvdnav_handle_input to handle user's input (revived from the repository with few changes)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19774 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-09 21:37:57 +00:00
nicodvb aa8de16f0f if no track number specified play the whole disc, or the menus can't be shown at start
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19770 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-09 20:51:29 +00:00
nicodvb b39852672b detect dvdnav before mpdvdkit and dvdread; if dvdnav is set mplayer will use the version of dvdread embedded in dvdnav
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19769 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-09 19:35:55 +00:00
diego 21a9221e7b Add #include <limits.h>, fixes build on Solaris 8.
patch by Robin KAY komadori [{at}] gekkou [{dot}] co [{dot}] uk


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19726 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-07 00:10:44 +00:00
diego 3b4e87616d Remove stray and superflous #ifdef checks.
patch by Vladimir Voroshilov, voroshil [at] gmail [dot] com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19624 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-01 18:20:29 +00:00
ben 59a929e570 fix build on some old 2.6 kernels, patch by Gernot Hillier
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19623 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-01 16:38:07 +00:00
diego 66b1d0d001 The FSF changed postal address.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19620 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-01 12:11:11 +00:00
diego 63a2e5b07f Check for requirements at configure-time, not at run-time.
patch by Vladimir Voroshilov, voroshil <at> gmail <dot> com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19614 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-31 19:00:09 +00:00
reimar ecb187ef22 Do not cast calloc/malloc results
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19612 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-31 18:43:41 +00:00
rtogni 826965326c Avoid a potential strdup(NULL)
Fix sig11 with rtsp://wms.stream.aol.com/aol/us/moviefone/movies/2006/jesuscamp_027214/prestigethe_trlr_01_460.wmv


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19601 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-30 20:18:27 +00:00
nicodvb d81f4ecd8d complete range of frequencies for Ireland; patch by gmccullagh gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19596 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-29 21:05:35 +00:00
reimar acf654cf8f Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19574 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-28 17:05:18 +00:00
diego 368bf2263b Remove XMMS_CFLAGS from CFLAGS, the variable is never set.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19558 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-27 20:17:19 +00:00
reimar 8bc66b700c Fix mingw compilation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19550 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-26 20:06:06 +00:00
reimar de6d02c2d2 Cosmetics: recommit patch changing return values to defines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19549 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-26 19:35:55 +00:00
reimar b5754c6044 Recreate tcp.c as partial copy from network.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19548 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-26 19:23:14 +00:00
reimar 69acfaa74b remove to allow readding as copy from network.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19547 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-26 19:20:24 +00:00
nicodvb 30c1486c65 implemented STREAM_CTRL_GET_NUM_CHAPTERS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19483 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-21 19:16:39 +00:00
nicodvb 66e04345be implemented STREAM_CTRL_GET_NUM_CHAPTERS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19482 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-21 19:13:36 +00:00
nicodvb 28a6ef4591 added STREAM_CTRL_GET_NUM_CHAPTERS to get total number of chapters from the stream reader
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19481 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-21 19:10:18 +00:00
rfelker c2035b4e2e missing header for struct timeval
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19470 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-20 23:19:18 +00:00
reimar c940e28bfb Avoid crash if initialization failed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19466 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-20 11:50:29 +00:00
reimar df3b9f3b24 Handle 303 (See Other) redirect, part of a patch by Benjamin Zores (ben at geexbox org)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19465 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-20 11:47:33 +00:00
nicodvb 0f8a1df63a corrected _very_ misleading comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19460 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-19 20:06:10 +00:00
nicodvb 84c982c65f implemented STREAM_CTRL_GET_TIME_LENGTH (duration of the pgc playing)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19459 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-19 19:41:04 +00:00
nicodvb 2dfbc4cea7 removed #if-0 code that dereferenced dvdnav_t's internal members, violating the opaque interface (current dvdnav doesn't even install dvdnav_internal.h system-wide for very good reasons)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19458 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-19 19:15:23 +00:00
nicodvb 03d052a129 10l: misplaced brace in a switch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19457 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-19 19:11:51 +00:00
diego abe5c26e23 Print DVD audio channel and subtitle track information in non-verbose mode,
some more consistency for MSGL.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19454 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-19 14:52:50 +00:00
nicodvb 26ea4d52e4 implemented seeking to chapter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19449 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-19 11:49:04 +00:00
nicodvb 539b760061 sanity check: since chapter is 0-based it can't exceed nr_of_ptts-1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19448 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-19 10:45:17 +00:00
nicodvb c5f2783e20 support for seeking to chapter and getting current playing chapter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19446 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-18 19:05:37 +00:00
nicodvb d4a4bb3651 new stream_ctrl to get currently playing chapter (needed for stream-driven relative chapter seeking)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19443 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-18 18:58:38 +00:00
nicodvb 63fdcbc840 new STREAM_CTRL_SEEK_TO_CHAPTER (will be used by streams dvd[nav], maybe [s]vcd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19440 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-18 16:44:24 +00:00
diego 77b4259600 Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19437 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-18 13:58:03 +00:00
diego b02e7924b9 Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.
based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-17 17:19:56 +00:00
ben d7b460956a isolated tcp socket code from network.c to a dedicated file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19341 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-05 10:30:06 +00:00
ben 105438642b missing ifndef/define/endif couple in udp header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19338 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-05 09:24:07 +00:00
ben 5a85fcf1d8 kill a warning in getsockopt()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19337 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-05 08:56:54 +00:00
ben 603d621a37 kill a warning in getsockopt()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19336 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-05 08:49:40 +00:00
ben 2fafb67e96 removed some useless includes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19326 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-04 19:38:59 +00:00
ben 7c4ced0cbb moved some definitions from rtp.h to rtp.c as they're not exported or used anywhere else
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19325 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-04 19:36:41 +00:00
ben 74f76ea788 removed udp socket creation code from rtp stack to a new dedicated udp helper file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19324 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-04 19:31:53 +00:00
ben 0dacae58b1 fix compilation of librtsp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19322 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-04 18:44:52 +00:00
ben e4b1fc6107 few cosmectic changes to remove duplication
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19321 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-04 18:42:28 +00:00
ben 2d79655938 split rtp stack, udp input layer and rtp input layer from rtp.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19319 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-04 18:32:36 +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 2d112d6fe4 moved pnm.h to stream/ (where it belongs)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19317 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-04 16:55:48 +00:00
ben 6937525850 renamed dvdnav_stream to stream_dvdnav for consistency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19308 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-03 20:44:14 +00:00
ben d844273899 added dedicated file for mf:// input
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19307 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-03 19:43:02 +00:00
ben e503389acf mf.[hc] belong to libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19306 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-03 19:31:36 +00:00
ben 91dcf52b19 renamed cue_read.c to stream_cue.c for consistency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19304 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-03 19:25:16 +00:00
ben 9ce2dd26c0 removed useless cue_read.h file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19303 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-03 19:22:23 +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
ben 6eaeaa734e conversion from stream_null to stream_tv was missing stream type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19301 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-03 19:12:31 +00:00
ben cbbbf761c3 correctly report audio input
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19300 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-03 18:59:37 +00:00
diego 5fb3bfb2a9 Move conditional compilation of cdinfo.c to the build system.
patch by Emanuele Giaquinta, emanuele . giaquinta #at# gmail . com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19293 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-02 11:22:11 +00:00
ben 8f8547ae86 removed deprecated test.c file from libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19282 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 20:32:38 +00:00
ben 1cad07f6cd add an explicit tv stream input instead of the previous hack in stream_null
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19279 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 18:36:29 +00:00
ben 7690284b94 renamed cddX stream interface to stream_cddX for consistency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19278 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 17:48:50 +00:00
ben 49867bd432 introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 17:39:17 +00:00