Commit Graph

516 Commits

Author SHA1 Message Date
nicodvb 0f4b9929eb a mouse selection may require at least a video codec reinit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24324 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 21:35:07 +00:00
nicodvb 4da74f1f7b implemented STREAM_CTRL_GET_ASPECT_RATIO
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24323 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 21:00:18 +00:00
voroshil a108787e00 Make sure that no pages will left in cache during
channel switch (immediately stop decoding of vbi buffer when clear_cache is called).



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24321 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 18:49:51 +00:00
nicodvb d20ff3542d implemented STREAM_CTRL_GET_ASPECT_RATIO
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24318 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 15:51:41 +00:00
nicodvb 818cc0cf0d introduced STREAM_CTRL_GET_ASPECT_RATIO to report the aspect ratio read from the stream layer (if supported)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24317 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 15:50:52 +00:00
voroshil efd9aba867 Drop out control chars from page header in time position.
Expand time line if necessary.




git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24316 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 14:36:49 +00:00
voroshil ce81a2156b Fix missed -1 -> 0x3f7f changes for subpage number.
Patch from Otvos Attila oattila at chello dot hu



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24314 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 10:14:42 +00:00
voroshil bbce9daf29 Fix displaying start page when it has subpages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24313 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 01:32:17 +00:00
voroshil b61657c12c Proper support for flashing chars in teletext pages.
Patch from Otvos Attila oattila at chello dot hu



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24312 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 01:22:30 +00:00
voroshil 374e9dd5ba Support for selecting language via packet 28.
Also  allows to select default teletext language.
It will be used if language is not specified by network provider
via packet 28.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24310 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-31 16:53:27 +00:00
voroshil b60132ee12 Small code simplification as suggested by Reimar:
declare variables used only inside loop in those loop.
Hope this will make code a bit easy to understand.




git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24300 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 18:19:50 +00:00
voroshil 9ef594f0e8 Simplify code by using FFSWAP
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24299 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 18:11:09 +00:00
voroshil 23d80af5c6 (cosmetics) replace tabs with spaces
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24298 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 17:46:33 +00:00
voroshil beda7b3ce3 (cosmetics) fix indentation of previous commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24297 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 17:44:40 +00:00
voroshil 48302e019d Implement Hold/Release graphics (showing control chars as
graphics instead of spaces).



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24296 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 17:43:13 +00:00
voroshil 5b673bf021 Implement Flash/Steady (swapping foreground/background colors)
and Conceal (filling following chars with spaces) control characters.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24295 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 17:28:41 +00:00
voroshil b32b4824f8 Make charset constants naming consistant
(renamed according to specification).



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24291 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 13:37:12 +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
iive 96217887af Fix compilation by adding forgotten comma.
Noticed by Evrim Furuncu on irc.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24276 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 19:58:45 +00:00
voroshil e8834d6d47 Conversion tables for Serbian/Croatian, Ukrainian and Greek charsets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24275 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 18:06:11 +00:00
voroshil 6e88eeb7b7 Move channels option parsing code into separate routine.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24266 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 14:36:13 +00:00
voroshil c4debc9042 Implement X/27/0 packet decoding.
It contains information about navigation links.

Modified patch from Otvos Attila oattila at chello dot hu


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24264 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 14:10:47 +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
voroshil fb7d88d344 Implement 8/30 format 1 teletext packet decoding
It contains network id, network name, current date and time.

patch from Otvos Attila oattila at chello dot hu



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24252 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 02:37:48 +00:00
nicodvb 0bfd6cb4f1 in stream_control() remove redefinition of d in a case block, previously assigned in the same function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24249 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 21:40:09 +00:00
nicodvb c803ba9baf in open_s() unified failure code in fail:
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24248 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 21:10:41 +00:00
voroshil 04c1f99a05 (cosmetics) remove unnecessary ';'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24217 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-26 19:44:23 +00:00
voroshil e6a1b51d71 Replace perror() with mp_msg()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24213 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-26 16:58:27 +00:00
voroshil 2f920f5449 Implement TVI_CONTROL_TUN_GET_SIGNAL in *BSD BT848 driver.
This will enable TV channels scanning feature under *BSD.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24212 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-26 15:12:55 +00:00
voroshil 0593b7b6f8 10l: Move #endif upper to reflect changes in r24054.
This fixes wrong tvscan suboptions initialization under *BSD.

patch from Bernd Ernesti mplayer-dev-eng at lists dot veego dot de



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24211 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-26 15:03:43 +00:00
voroshil b26a0e5a63 Fix typo
Patch from Otvos Attila oattila at chello dot hu



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24210 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-26 12:59:47 +00:00
voroshil 801976dc82 Add teletext specification reference
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24206 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-26 05:18:00 +00:00
voroshil 2ad1d1c0c2 Remove ugly Russian language support hack.
Currently support for only Latin-1 languages is left.
Proper solution for another languages will be added later.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24205 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-26 05:15:53 +00:00
voroshil 3e0d0aca85 Add support for Latin National Option Sub-Sets
Modified Otvos Attila's patch oattila at chello dot hu



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24204 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-26 05:11:15 +00:00
voroshil 0f559826b0 Enable decoding of packet X/24, it is usual teletext line
and contains labels for navigation links.
10l: fix comments for constants.

patch from Otvos Attila oattila at chello dot hu



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24203 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-26 04:56:37 +00:00
voroshil aad3231850 10l: "&" should be done after ">>"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24189 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 16:42:38 +00:00
voroshil 74083dfe01 Language bits in teletext page header are
control bits C12-C14 (bits 2-4 of d[7]), not C11-C13 (bits 1-3).



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24187 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 16:39:02 +00:00
diego 5c0d8ece5a Remove redundant variable declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24165 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 12:04:52 +00:00
cehoyos 4f33b7daed Removed uninitialized variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24129 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-23 23:14:00 +00:00
voroshil f1fbca4bdd Automatic TV channels scanning ability for MPlayer.
Code is based on patch from Otvos Attila oattila at chello dot hu


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24125 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-23 16:09:30 +00:00
voroshil ffac6ce7eb Fix blue color for yv12 and i420 image formats in "automute" screen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24124 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-23 14:20:31 +00:00
voroshil 65e0b2a95e Fix [soc:eoc] stubs.
Slightly modified patch from Otvos Attila oattila at chello dot hu



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24119 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-22 14:01:57 +00:00
reimar f12a0e61cc Set DVD speed earlier to avoid drive spinup during open
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24114 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-21 12:38:45 +00:00
reimar 46afe7d1d2 Fix a bug in stream_read_qword_le due to sign extension from int to uint64_t.
Patch by Sean Veers [cf3cf3 gmail com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24099 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-19 08:50:58 +00:00
diego 80dee3f8ac Sync libdvdread with version 0.9.5 (functional changes).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24067 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-15 11:47:22 +00:00
diego 5fe4c90509 Fix compilation on BSD.
patch by Bernd Ernesti, mplayer-dev-eng lists.veego de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24054 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-13 17:41:56 +00:00
diego 42ae2a635d Remove unused variables.
patch by Bernd Ernesti, mplayer-dev-eng lists.veego de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24053 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-13 08:49:11 +00:00
diego 9dd9d9a791 Fix UDP select timeout.
patch by Tim Wojtulewicz, timwoj ieee org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24046 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-12 12:16:11 +00:00
cehoyos 9e9a76fd38 Fix warning: too many arguments for format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24039 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-08 22:30:51 +00:00
cehoyos 06c7780569 Define teletext_control() in tvi_v4l.c and tvi_v4l2.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24037 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-08 21:47:36 +00:00
cehoyos e5a6eae2cf Moved dvdtimetomsec to stream_dvd_common.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24013 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-04 21:59:26 +00:00
nicodvb 58d131b1c6 cosmetics: removed commented code and small reindentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24011 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-04 21:25:28 +00:00
nicodvb 3870447956 removed unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24010 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-04 21:16:22 +00:00
cehoyos 9a4832f066 Added missing newline.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23999 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-03 10:57:49 +00:00
ivo 655604a44c remove GNUism (case range)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23948 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 18:48:03 +00:00
voroshil 8ff547240b Teletext support for V4Lv1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23946 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 18:00:11 +00:00
voroshil aae0e9dcde 10l: wrong pointer was initialized (causes crash during startup).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23945 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 17:31:54 +00:00
reimar 653301b8e6 Fix hopefully final 150 sector offset VCD bug. Caused no noticeable problems on Linux
because it is the only case where M:S:F is used in the read call.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23941 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 16:13:04 +00:00
reimar 317fbd8905 Simplify sun SCSI command generation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23940 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 15:53:50 +00:00
reimar 0ce80b61cb big 10L of r9888 located: passed fd instead of pointer to sun_vcd_read
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23939 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 15:47:17 +00:00
voroshil ce2792fe74 Subtraction should be done after & operation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23928 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 02:12:25 +00:00
voroshil 3a9bed720f Drop out overlooked debug line
Fix hex to char conversion



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23927 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 02:02:32 +00:00
reimar ecd76ccd5c More doxygen comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23922 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 17:57:12 +00:00
voroshil 0c9c146505 Teletext support
Part 3/5: grabbing raw VBI data



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23921 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 17:56:47 +00:00
voroshil 4f0d56b9ae Teletext support.
Part 2/5: options/slaves/configure/definitions/etc


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23920 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 17:55:28 +00:00
voroshil dd5778726e Teletext support.
Part 1/5: core stuff



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23919 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 17:52:11 +00:00
reimar ef750478b7 Simplify and fix missing offset for Darwin vcd_get/set_msf functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23918 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 15:59:55 +00:00
reimar 2ea3b5fdb0 Make VCD work on little-endian macs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23916 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 15:37:30 +00:00
reimar 1c67c05e8c Make vcd_get_track_end actually return the end, not the start on Darwin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23915 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 15:35:52 +00:00
reimar 5bcef8f16b Make the vcd seek and get track end functions actually have an effect
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23914 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 14:42:07 +00:00
reimar 0f4796adaa Fix wrong return type in darwin VCD code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23911 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 12:41:22 +00:00
voroshil 61bce335f7 Replacing global variables in radio:// with
context-sensitive structure.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23910 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 12:20:25 +00:00
voroshil db734dcc15 Removing global variables from tv://
Step 8 (last): removing old globals from tv.c, tv.h,
fixing remaining references in cfg-common.h and mplayer.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23909 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:30:41 +00:00
voroshil a890471f6d Removing global variables from tv://
Step 7: replacing old globals with new structure in stream_pvr.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23908 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:25:10 +00:00
voroshil 758e3ef39c Removing global variables from tv://
Step 6: removing references to old globals from tv.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23907 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:22:39 +00:00
voroshil 3a1756d7e6 Removing global variables from tv://
Step 5: removing references to old globals from tvi_v4l2.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23906 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:21:48 +00:00
voroshil 7b4a1214ed Removing global variables from tv://
Step 4: removing references to old globals from tvi_v4l.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23905 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:21:00 +00:00
voroshil f59e46baca Removing global variables from tv://
Step 3: removing references to old globals from tvi_bsdbt848.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23904 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:20:05 +00:00
voroshil 7cdc5ad4fe Removing global variables from tv://
Step 2: fixing tv subdrivers initialization.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23903 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:18:38 +00:00
voroshil b7adae655f Removing global variables from tv://
Step 1: introducing new structure, fixing tv:// stream



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23902 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:11:24 +00:00
voroshil 487d4927e2 Removing forward declarations of routines used only in tv.c
Marking above routines as static
Removing unfaithful comment



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23901 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 03:55:12 +00:00
voroshil d68160b3c2 Cosmetics.
10l: forget to move up second routine



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23900 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 03:38:01 +00:00
voroshil 96addffa41 Cosmetics: move two routines up
to avoid requirement of forward declarations.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23899 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 03:33:39 +00:00
diego 22fc24fe56 cosmetics: misc typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23893 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 14:28:38 +00:00
reimar b9c8b4fbcd Remove completely pointless extra return statements
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23883 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 19:25:51 +00:00
reimar 5d70f50109 Fix MSF -> sector conversion being 150 sectors of
(pregap or whatever it is called)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23882 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 18:51:07 +00:00
reimar 63e8a30682 Simplify track length calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23881 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 18:47:44 +00:00
reimar fec1bd1a56 Some more *BSD vcd_read simplification
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23880 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 18:34:09 +00:00
reimar def6db4b62 Fix several 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23879 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 18:31:50 +00:00
reimar 9ba43bdd88 Factor out some common code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23878 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 18:04:52 +00:00
reimar bd77635966 Somewhat unified *BSD vcd reading
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23877 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 17:37:53 +00:00
reimar f82f6553f3 READ_TOC for making *BSD code more similar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23876 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 17:18:03 +00:00
reimar 8987d1ade2 One ifdef less
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23874 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 17:02:56 +00:00
reimar adce32de93 Simplify NetBSD vcd_read code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23873 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 16:59:41 +00:00
reimar 37c39a9f74 vcd_inc_msf function also for freebsd vcd_read
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23872 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 16:34:52 +00:00
reimar 647514eb73 More VCD cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23871 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-27 08:49:14 +00:00
reimar d10cfcf015 100l, return is missing a value
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23870 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-26 23:19:36 +00:00
reimar 51235ecd97 Cosmetics to reduce diff between Free- and netBSD vcd stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23869 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-26 23:15:54 +00:00
reimar 8db1b6a63c 10l, fix vcd netbsd compilation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23868 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-26 23:13:30 +00:00
reimar 2134bb4673 TOCADDR macro as first step to common *BSD vcd reading code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23867 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-26 22:51:23 +00:00
diego 93847cc5fc Remove unnecessary #ifdef around the whole file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23756 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 20:40:47 +00:00
diego 5d24fef60f Remove unnecessary #ifdef around the whole file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23755 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 20:40:18 +00:00
diego b000a6a519 ISO8859-1 --> UTF-8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 19:50:36 +00:00
voroshil 128ff990e9 Remove unnecessary flip for RGB in v4l1.
Patch was provided and tested by Trent Piepho xyzzy at speakeasy dot org.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23744 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-08 13:30:33 +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
diego f4e02c38cb Cygwin has had inttypes.h since version 1.5.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23712 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-03 08:28:44 +00:00
diego f1ead29ad9 The file is compiled conditional to USE_DVDREAD so the #ifdef USE_DVDREAD
in the file are senseless.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23711 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-03 08:24:01 +00:00
diego 8f9c3308ed The header is always included conditional to USE_DVDREAD,
no need to duplicate the #ifdef.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23710 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-03 08:22:39 +00:00
diego 3e9e4acd8d Do not use leading underscores in multiple inclusion guards, they are reserved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 22:34:45 +00:00
voroshil 04006396a0 Cosmetics.
Reindent line, remove trailing spaces.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23698 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-30 10:59:55 +00:00
voroshil f0ca43a600 Don't override input= option value is no input id is passed in tv:// url.
Remove debug fprintf



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23697 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-30 10:56:05 +00:00
rtogni 59a387a829 wvx files (mimetype video/x-ms-wvx) are asx playlists. Fix bugzilla #750
http://www.ntt-fukushima.com/sora/mado_live/jr_aizu/gazai/jrwaka500k.wvx 

Patch by Sergey Svishchev | svs ropnet ru | on bugzilla


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23695 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-29 21:21:57 +00:00
voroshil dd2ef6be51 remove file that was added by mistake.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23688 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-29 08:56:50 +00:00
voroshil 6aea0fb430 Implemented tv://[<channel>][/<input_id>] url syntax
to allow users start watching from S-Video or Composite 
input without touching '-tv input=' option.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23687 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-28 18:36:05 +00:00
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