Commit Graph

422 Commits

Author SHA1 Message Date
voroshil 0efbf8149c Fix for:
tvi_v4l2.c: In function 'start':
tvi_v4l2.c:1453: warning: comparison between signed and unsigned


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24366 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-08 10:15:08 +00:00
voroshil bfc18929a7 More accurate calculating of teletext
page update intervals



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24365 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-08 10:04:08 +00:00
voroshil 641a7ddabd Implement boxes for subtitle teletext pages.
Text is shown in opaque boxes inside transparent
teletext page.




git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24364 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-08 09:48:43 +00:00
voroshil 67276cc8cd Decrease teletext page rendering frequency from 1/frame to about 4/sec.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24362 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-08 03:06:23 +00:00
voroshil a027248c5f Fix for:
tvi_vbi.c:1392: warning: 'decode_raw_line_sine' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24336 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-03 14:21:53 +00:00
voroshil dfdd178117 Increase number of skipped buffers to 5 to avoid mixing teletext pages from
different channels during channel switch.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24325 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-02 06:12:32 +00:00
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