Commit Graph

302 Commits

Author SHA1 Message Date
rtogni cc44f564e8 start= and end= parameters on realrtspurls may be optionally quoted with
", skip the quoting if it's there.
Fixes rtsp://rmv8.bbc.net.uk/bbc7/2300_tue.ra?start="30:00" from 
bugzilla #850


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23661 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 18:46:41 +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 865605639c Fix dvd:// subtitle handling to always report the MPEG stream id, because
this is the only thing the remaining parts of MPlayer care about.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23621 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 08:14:10 +00:00
voroshil 2f76cfc28a Revert r23530.
r23530 breaks policy: notification was not sent to mailing list,
agreements of other devs were not received.
Code also should be reviewed/cleaned up/fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23593 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-21 08:18:51 +00:00
voroshil 83a2c50ef9 Teletext support for tv:// (v4l and v4l2 only)
modified patch from Otvos Attila oattila at chello dot hu

Module uses zvbi library for all low-level  VBI operations (like I/O with vbi
device, converting vbi pages into usefull vbi_page stuctures, rendering them
into RGB32 images).

All teletext related stuff (except properties, slave commands and rendering
osd in text mode or RGB32 rendered teletext pages in spu mode) is implemented
in tvi_vbi.c

New properties:
teletext_page - switching between pages
teletext_mode - switch between on/off/opaque/transparent modes
teletext_format - (currently read-only) allows to get format info
(black/white,gray,text)
teletext_half_page - trivial zooming (displaying top/bottom half of teletext
page)

New slave commands:
teletext_add_dec - user interface for jumping to any page by editing page number
interactively
teletext_go_link - goes though links, specified on current page



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23530 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-10 00:06:12 +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
voroshil f619fb233b Fix compiler warnings.
Remove unused tv_param_on variable.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23505 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-08 06:08:51 +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
reimar 9afe162ba4 Avoiding sscanf in cddb support reading more data with %s than buffer size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23470 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 11:13:32 +00:00
voroshil cc5ea363f8 mjpeg support for v4l2 tv:// driver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23441 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-01 17:29:35 +00:00
voroshil eb5bf3b88e New "automute" tv:// option.
Will switch off sound and show blue screen instead of video with noise
when signal level (in 0-255 scale) is less than specified value.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23440 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-31 17:49:51 +00:00
diego 5edd9af248 Remove some unused variables, patch by timwoj ieee org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 08:42:35 +00:00
reimar d759ba10c3 More fastmemcpy.h removal
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23395 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 21:14:32 +00:00
nicodvb 39e4226e59 fixed off-by-one bug during chapter-listing; fixed by Jared Breland (list-mplayer@legroom.net) and me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23386 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-26 20:27:45 +00:00
voroshil 8ee842dde2 remove unnecessary stubs which were not ever used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23380 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-24 09:58:57 +00:00
voroshil 709aa5eb74 make v4l1 driver work properly.
v4l1 API docs says that VIDIOCSWIN (picture size) and VIDIOCSPICT (pixel format) 
should be called before VIDIOCGMBUF ioctl call.

patch by Trent Piepho xyzzy at speakeasy dot org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23372 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-21 17:00:08 +00:00
reimar 3d8bc9fbc1 Fix OpenBSD compilation: strndup is a GNU extension.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23351 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 11:36:50 +00:00
reimar 0cb679cfa6 Fix track info being read for the wrong track introduced in r20598
Patch by kiriuja (mplayer-patches <at> en-directo net)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23287 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 11:43:39 +00:00
reimar 49d90f4d53 Missing -1 in the FreeBSD code to get the first CD track number
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23286 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 11:39:58 +00:00
ben 4215b1b139 added proper GPL headers to new stream/pvr.h file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23264 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-08 12:22:42 +00:00
ben e705d3d7ab give credits to Sven for pvr channel navigation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23263 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-08 12:21:50 +00:00
ben 18528f617b support for PVR channel navigation (patch by Sven Gothel <sgothel at jausoft dot com>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23262 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-08 12:20:46 +00:00
ben fe8a263f5d deprecated comment from the time the pvr code was half V4L2 and half IVTV specific
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23184 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-30 12:00:13 +00:00
voroshil 43fa410db0 (cosmetics) replace tabs with spaces
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23169 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-29 05:17:08 +00:00
voroshil 4f6225aaa7 typo fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23168 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-29 00:03:19 +00:00
voroshil 7ed8a368d8 (cosmetics) more indentation fixes.
patch from Trent Piepho xyzzy at speakeasy dot org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23167 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-28 23:41:11 +00:00
diego 3af0ad0432 cosmetics: Fix one more stray wrongly indented line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23160 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-28 14:27:15 +00:00
diego e42b714cb1 cosmetics: Remove all trailing whitespace and tabs, indentation fixes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23159 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-28 14:20:44 +00:00
diego 2fbdb55289 Add Makefile variable for audio input that is enabled by V4L or radio capture.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23088 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 20:43:28 +00:00
nicodvb c7a0712f30 after a DVDNAV_VTS_CHANGE event report the title being played
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23061 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 10:27:44 +00:00
voroshil 13cf4f7b28 cosmetics. restore empty line removed in r22985.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22987 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-13 14:34:38 +00:00
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