summaryrefslogtreecommitdiffstats
path: root/stream
Commit message (Collapse)AuthorAgeFilesLines
* After receiving EINTR 'read' syscall should be restarted.voroshil2007-10-162-0/+4
| | | | | | | | | | Fixes receiving teletext on some systems. Modified patch from Oldrich Jedlicka oldium dot pro at aenam dot cz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24791 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable channel scanner when no tuner is present.voroshil2007-10-151-0/+8
| | | | | | | | | | TV channel scanner is useless without tuner and causes mplayer crash due to uninitialized chanlist_s variable (e.g when dummy driver and tvscan are used together). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24790 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix mplayer segfault when v4l driver initialization (at setting normvoroshil2007-10-141-1/+3
| | | | | | | | stage) failed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24787 b3059339-0415-0410-9bf9-f77b7e298cf2
* #ifdef's in tv.c and tv.h becomes more and more hard to maintain.voroshil2007-10-142-26/+0
| | | | | | | | I've decided to remove all of them and control options only through cfg-common.h git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24786 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary curly braces.voroshil2007-10-141-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24782 b3059339-0415-0410-9bf9-f77b7e298cf2
* 8 bytes buffer is not enough for at least SECAM-DK.voroshil2007-10-141-1/+1
| | | | | | | | Increase it to 20. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24781 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace duplicated code with call to routinevoroshil2007-10-141-7/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24780 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: routine sets norm from parameter, but prints value of tv norm optionvoroshil2007-10-141-1/+1
| | | | | | | | (which can be not equal to parameter). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24779 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) indentation fix of my previous commit and small readabilityvoroshil2007-10-141-22/+25
| | | | | | | improvement. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24778 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove driver-dependent #ifdef from norm_from_string routine.voroshil2007-10-141-22/+14
| | | | | | | | | | It will use TVI_CONTROL_SPC_GET_NORMID if supported by driver and fallback to hardcoded norms otherwise. This will not change current behaviour because hardcoded norms were used with drivers which do not support above ioctl. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24777 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) remove trailing whitespacevoroshil2007-10-141-37/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24776 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l fix compilation with v4l2iive2007-10-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24775 b3059339-0415-0410-9bf9-f77b7e298cf2
* DirectShow based tv:// driver for win32voroshil2007-10-136-9/+4062
| | | | | | | | | | | Teletext is also supported (but 625 system parameters are hardcoded). pthreads is required for teletext. Code is still experimental. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24772 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed useless inclusion of error.hnicodvb2007-10-131-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24767 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure forked code does not try to display a GTK message box (and thus ↵reimar2007-10-071-0/+4
| | | | | | crashes) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24717 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: misc typo fixesdiego2007-09-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24615 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation with enabled radio capture and disabled OSS audio.voroshil2007-09-241-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24603 b3059339-0415-0410-9bf9-f77b7e298cf2
* libnemesi support, yet another rtsp/rtp library...lu_zero2007-09-192-6/+88
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24584 b3059339-0415-0410-9bf9-f77b7e298cf2
* (Re)move idiotic checks, ret can't be < 0 or > 0 if the loop conditionreimar2007-09-191-3/+2
| | | | | | | is that it is == 0! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24579 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a few typosreimar2007-09-192-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24578 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement setting gain control for video devices (usually webcams)voroshil2007-09-184-1/+42
| | | | | | | in v4l2 tv:// driver. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24573 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused members from dvdnav_priv_tnicodvb2007-09-151-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24513 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed dead code related to stills.nicodvb2007-09-151-8/+0
| | | | | | | patch by Attila Ötvös (oattila chellu hu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24512 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix missing reset/initialization (with tv parameters) ofvoroshil2007-09-131-0/+2
| | | | | | | | vbi subsystem after tv initialization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24450 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include to fix compilation.diego2007-09-121-0/+1
| | | | | | | patch by Bernd Ernesti, mplayer-dev-eng lists.veego de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24431 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implementation of tv:// driver autodetection.voroshil2007-09-102-9/+19
| | | | | | | | | | | | If user did not specify driver directly, all available drivers will be probed (in order: v4l2,v4l1,bsdbt848,dummy). In most cases first probed driver will be successfully autodetected and used. Autodetection will be disabled if user specified driver directly (in command line or config). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24423 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for:voroshil2007-09-081-1/+1
| | | | | | | | 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
* More accurate calculating of teletextvoroshil2007-09-081-1/+3
| | | | | | | | page update intervals git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24365 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement boxes for subtitle teletext pages.voroshil2007-09-082-8/+26
| | | | | | | | | | 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
* Decrease teletext page rendering frequency from 1/frame to about 4/sec.voroshil2007-09-082-1/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24362 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for:voroshil2007-09-031-0/+4
| | | | | | | 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
* Increase number of skipped buffers to 5 to avoid mixing teletext pages fromvoroshil2007-09-021-2/+6
| | | | | | | | different channels during channel switch. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24325 b3059339-0415-0410-9bf9-f77b7e298cf2
* a mouse selection may require at least a video codec reinitnicodvb2007-09-011-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24324 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented STREAM_CTRL_GET_ASPECT_RATIOnicodvb2007-09-011-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24323 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure that no pages will left in cache duringvoroshil2007-09-011-1/+9
| | | | | | | | 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
* implemented STREAM_CTRL_GET_ASPECT_RATIOnicodvb2007-09-011-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24318 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduced STREAM_CTRL_GET_ASPECT_RATIO to report the aspect ratio read from ↵nicodvb2007-09-011-0/+1
| | | | | | the stream layer (if supported) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24317 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop out control chars from page header in time position.voroshil2007-09-011-3/+7
| | | | | | | | | Expand time line if necessary. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24316 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix missed -1 -> 0x3f7f changes for subpage number.voroshil2007-09-011-2/+2
| | | | | | | | Patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24314 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix displaying start page when it has subpages.voroshil2007-09-011-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24313 b3059339-0415-0410-9bf9-f77b7e298cf2
* Proper support for flashing chars in teletext pages.voroshil2007-09-012-1/+5
| | | | | | | | Patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24312 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for selecting language via packet 28.voroshil2007-08-313-21/+207
| | | | | | | | | | 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
* Small code simplification as suggested by Reimar:voroshil2007-08-291-18/+10
| | | | | | | | | | 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
* Simplify code by using FFSWAPvoroshil2007-08-291-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24299 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) replace tabs with spacesvoroshil2007-08-291-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24298 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) fix indentation of previous commitvoroshil2007-08-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24297 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement Hold/Release graphics (showing control chars asvoroshil2007-08-291-0/+13
| | | | | | | | graphics instead of spaces). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24296 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement Flash/Steady (swapping foreground/background colors)voroshil2007-08-291-3/+19
| | | | | | | | and Conceal (filling following chars with spaces) control characters. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24295 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make charset constants naming consistantvoroshil2007-08-291-4/+4
| | | | | | | | (renamed according to specification). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24291 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typo fix UNSUPORTED --> UNSUPPORTEDdiego2007-08-2822-53/+53
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24277 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation by adding forgotten comma.iive2007-08-281-1/+1
| | | | | | | Noticed by Evrim Furuncu on irc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24276 b3059339-0415-0410-9bf9-f77b7e298cf2
* Conversion tables for Serbian/Croatian, Ukrainian and Greek charsets.voroshil2007-08-281-1/+49
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24275 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move channels option parsing code into separate routine.voroshil2007-08-281-67/+72
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24266 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement X/27/0 packet decoding.voroshil2007-08-282-1/+70
| | | | | | | | | 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
* Clean up the way get_path is handled: Compile get_path.c to an object to linkdiego2007-08-281-2/+1
| | | | | | | | 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
* Implement 8/30 format 1 teletext packet decodingvoroshil2007-08-282-0/+85
| | | | | | | | | | 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
* in stream_control() remove redefinition of d in a case block, previously ↵nicodvb2007-08-271-1/+0
| | | | | | assigned in the same function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24249 b3059339-0415-0410-9bf9-f77b7e298cf2
* in open_s() unified failure code in fail:nicodvb2007-08-271-20/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24248 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) remove unnecessary ';'voroshil2007-08-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24217 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace perror() with mp_msg()voroshil2007-08-261-31/+32
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24213 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement TVI_CONTROL_TUN_GET_SIGNAL in *BSD BT848 driver.voroshil2007-08-261-0/+11
| | | | | | | | This will enable TV channels scanning feature under *BSD. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24212 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: Move #endif upper to reflect changes in r24054.voroshil2007-08-261-1/+1
| | | | | | | | | | 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
* Fix typovoroshil2007-08-261-1/+1
| | | | | | | | Patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24210 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add teletext specification referencevoroshil2007-08-261-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24206 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove ugly Russian language support hack.voroshil2007-08-261-11/+1
| | | | | | | | | 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
* Add support for Latin National Option Sub-Setsvoroshil2007-08-261-2/+46
| | | | | | | | 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
* Enable decoding of packet X/24, it is usual teletext linevoroshil2007-08-261-2/+2
| | | | | | | | | | | 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
* 10l: "&" should be done after ">>"voroshil2007-08-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24189 b3059339-0415-0410-9bf9-f77b7e298cf2
* Language bits in teletext page header arevoroshil2007-08-251-1/+1
| | | | | | | | 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
* Remove redundant variable declarations.diego2007-08-251-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24165 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed uninitialized variable.cehoyos2007-08-231-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24129 b3059339-0415-0410-9bf9-f77b7e298cf2
* Automatic TV channels scanning ability for MPlayer.voroshil2007-08-236-1/+145
| | | | | | | 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
* Fix blue color for yv12 and i420 image formats in "automute" screenvoroshil