Commit Graph

321 Commits

Author SHA1 Message Date
voroshil 2a921a1fd7 Move translatable strings from tv.c to help_mp*
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22985 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-13 13:31:54 +00:00
voroshil fe5f586f11 Rework of *BSD BT848 detection for radio://
to reuse recently added BT848 interface headers detection
code.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22966 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-11 05:39:09 +00:00
rtogni 8df280eb31 Cleanup real_calc_response_and_checksum()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22963 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-09 22:11:31 +00:00
rtogni 350e6eef26 Merge calc_response_string() into real_calc_response_and_checksum()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22962 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-09 21:34:20 +00:00
rtogni 2213c30ac2 Simplify calc_response_string()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22961 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-09 21:26:49 +00:00
rtogni 2b1e8246a9 10000000l learn to count
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22960 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-09 20:43:48 +00:00
rtogni b3b2404893 Size of response is known, no need to calculate it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22959 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-09 20:06:45 +00:00
rtogni 839c996198 The size of xor_table is known and fixed, no need to calculate it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22958 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-09 19:30:32 +00:00
nicodvb 2c4331cbcc implemented STREAM_CTRL_GET_CURRENT_TIME and STREAM_CTRL_SEEK_TO_TIME - dvdnav from mphq required
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22954 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-09 16:05:58 +00:00
voroshil 56397298ff remove ugly #include from tvi_bsdbt848.c
(better detection of bt848 headers)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22952 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-09 13:18:06 +00:00
voroshil 77a15dd6d3 Fix typo in r22772 which causes compilation error under *BSD.
Slightly modified patch from Bernd Ernesti.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22946 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-08 15:30:01 +00:00
voroshil c8cb753c7b Ability to specify video and audio capture device names
in *BSD BT848 tv driver.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22916 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-05 16:33:54 +00:00
rtogni 32e3821c36 Length of interleaved RTSP frames (0x24) in only 16 bit, the other byte
is the channel number (normally 0)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22912 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-03 21:36:36 +00:00
rtogni dcc70f5849 Check buffer size in header dump functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22821 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-25 19:00:39 +00:00
rtogni 2d3e863777 Use AV_WB* instead of swap+memcpy+swap
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22801 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-24 14:40:16 +00:00
nicodvb f33671dc08 at open() discard front margin/empty sectors (fixes demuxing by libavformat); patch by Zuxy meng
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22793 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-24 10:37:05 +00:00
voroshil c846e0a734 Radio driver loading rework.
Available interfaces are showed in verbose mode.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22772 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-21 18:39:57 +00:00
rtogni 8927f24348 Declare eof only when stream 0 gets eof
Fixes premature eof on rtsp://vodreal.stanford.edu/opa/philo/061022.rm


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22768 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-20 22:32:38 +00:00
rtogni f8dcd9f789 Fix for realrtsp urls with more than 2 streams:
- do setup for all the streams we subscribed to
- Use all bits of stream id, not only the lsbit
Fixes rtsp://vodreal.stanford.edu/opa/philo/061022.rm


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22767 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-20 22:30:51 +00:00
voroshil 1d44eade53 Add missing bogus norm warning for v4l2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22746 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-19 15:31:25 +00:00
voroshil ac45fd3aac Make sure bogus parameter will not be ignored by user.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22745 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-19 12:28:53 +00:00
rtogni 3eae6645ec Support application/smil as mimetype for smil-over-realrtsp
Fixes rtsp://www.russiantvonline.com/smils/live.smil


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22721 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 16:50:26 +00:00
voroshil 94674443a3 New slave command: tv_step_freq <offset in MHz>
Command sets the TV frequency relative to current value


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22685 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 11:51:17 +00:00
diego 4b2fb79290 Remove unnecessary -I option from CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22638 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-16 21:38:20 +00:00
voroshil 57ed940858 Allow to specify frequencies in channels option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22637 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-16 19:42:41 +00:00
diego 43cbd97f17 Fix live555 compilation when stream cache is disabled.
based on patch by Gianluigi Tiesi, mplayer netfarm it


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22558 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 23:35:00 +00:00
diego 5519d98983 cosmetics: Fix indentation, reorder some lines for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 21:55:23 +00:00
diego 60b39e2786 Give more descriptive names to the source and library variables and split
between common, MPlayer-specific and MEncoder-specific parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 12:10:57 +00:00
compn 2314032a33 add vcd:// for win32, patch by zuxy meng
split up into the following commits r22523, r22524, r22526



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22526 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-12 15:57:01 +00:00
diego 4a75f5849f Source files should not contain non-ASCII characters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22525 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-12 15:52:34 +00:00
compn 164c303028 add vcd:// for win32, patch by zuxy meng
split up into the following commits r22523, r22524, r22526



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22524 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-12 15:48:13 +00:00
nicodvb 2cefb53a76 optionally reuse the socket if -reuse-socket is selected; patch by Yong Hwan (sio4 users sf net) simplified by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22491 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-08 20:47:10 +00:00
lorenm 58846451f0 truncate mencoder's output file if it exists, instead of overwriting just part of it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22469 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 17:42:25 +00:00
nicodvb 8e2bc40df5 print the disc_id without using a buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22430 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 08:49:24 +00:00
nicodvb 9dae0ef2b9 10000l; in previous commit I allocated a buffer 1 byte too short
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22422 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 13:39:46 +00:00
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