summaryrefslogtreecommitdiffstats
path: root/stream
Commit message (Collapse)AuthorAgeFilesLines
* Avoid gcc warning:zuxy2007-11-281-1/+1
| | | | | | | | vcd_read_win32.h:61: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'DWORD' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25187 b3059339-0415-0410-9bf9-f77b7e298cf2
* Return correct length in ID_VCD_TRACK_n_MSFzuxy2007-11-281-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25186 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable -rtsp-port for nemesilu_zero2007-11-271-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25184 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove stray varlu_zero2007-11-271-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25183 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing '\n' in tv scanner results output.voroshil2007-11-261-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25166 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support stream redirection from http to mms, fix bug #927.ulion2007-11-263-5/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25163 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r25089 (Ignore video formats which are supported by devicevoroshil2007-11-241-14/+3
| | | | | | | | | | | | | | but not supported by dshow driver). It prevents code from r25091 (probing undeclared formats) functioning properly: those code is never called if all declared by device formats are unsupported by MPlayer (even if undeclared one is supported). After this revert PVR-150 card should work as expected. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25155 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move requested format at top and shift all oters downvoroshil2007-11-241-8/+11
| | | | | | | | | This method is better with recent negotiation code: requested formats will be checked first. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25154 b3059339-0415-0410-9bf9-f77b7e298cf2
* Сreate empty format arrays in case of error in init_chain_common.voroshil2007-11-241-6/+27
| | | | | | | | | Fixes segfault for cards without audio capture pin in main capture filter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25153 b3059339-0415-0410-9bf9-f77b7e298cf2
* pgc->subp_control and pgc->audio_control are no more bitfields,nicodvb2007-11-231-20/+0
| | | | | | | | | but plain uint32_t and uint16_t respectively; replaced access to bitfield members with bitmask operations (and removed some ugly macro) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25151 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't include anymore the dvdread headers from the dvdnav directorynicodvb2007-11-221-5/+0
| | | | | | | (the right ones are included in the #else). Patch by Rathann git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25140 b3059339-0415-0410-9bf9-f77b7e298cf2
* Compilation fix (typo)voroshil2007-11-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25133 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sizes of arpmt and arStreamCaps must be equal.voroshil2007-11-211-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25124 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move code related to chain initialization and similarvoroshil2007-11-201-80/+78
| | | | | | | | for different chains to separate routine. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25122 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix mplayer crash caused by r25116voroshil2007-11-201-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25121 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove no more needed checkvoroshil2007-11-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25118 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix totally wrong (due to mess of brackets) structures size check.voroshil2007-11-201-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25117 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace several parameters for get_available_formats_streamvoroshil2007-11-201-60/+24
| | | | | | | and get_available_formats_pin with one chain structure. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25116 b3059339-0415-0410-9bf9-f77b7e298cf2
* New routine for reconnecting two pins with new media typevoroshil2007-11-191-23/+68
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25115 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move pointer to SampleGrabber filter into chain structure.voroshil2007-11-191-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25114 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move common chain uninit code into separate routine.voroshil2007-11-191-52/+38
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25113 b3059339-0415-0410-9bf9-f77b7e298cf2
* pass chain structure instead of several variables to build_sub_graphvoroshil2007-11-191-18/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25112 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix missed changevoroshil2007-11-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25111 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add capture filter's pointer to vbi chain structure too.voroshil2007-11-191-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25110 b3059339-0415-0410-9bf9-f77b7e298cf2
* Code unification: get rid of local variable arpmtVBIvoroshil2007-11-191-4/+11
| | | | | | | | and use chain structure's arpmt member. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25109 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add major media type to chain structurevoroshil2007-11-191-6/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25108 b3059339-0415-0410-9bf9-f77b7e298cf2
* One step of code cleanup: move all variables, relatedvoroshil2007-11-191-204/+221
| | | | | | | | | to audio/video/vbi chains of filters into separate structure (will simplify some parts of code in future) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25107 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l: Fix long standing copy-paste error:voroshil2007-11-191-1/+1
| | | | | | | TUN_SET_NORM should set norm value not get it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25105 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add all passed to VID_SET_FORMAT formats to the end ofvoroshil2007-11-181-2/+27
| | | | | | | | | | | | | | | | available format list (but report call as failed, to continue checking formats). This gives small chance to build graph even if device does not report about particular format as supported. This makes mplayer be able to work with PVR-150 card (card's driver does not report about yuy2 format, but accepts connection and works with it). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25096 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ensure that when VID_GET_FORMAT ioctl is called,voroshil2007-11-181-0/+5
| | | | | | | | | | video chain in graph is ready built. Otherwise driver can return one format while graph builder will negotiate another. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25095 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) Indentation fix of previous commit.voroshil2007-11-181-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25094 b3059339-0415-0410-9bf9-f77b7e298cf2
* New media format negotiation code:voroshil2007-11-181-2/+14
| | | | | | | | | | | | | | loop through all available formats trying to establish connection between pins. Negotiation stops either when all formats are rejected (error reported in this case) or when connection is established (which can happen only when current media format is accepted by both of the pins). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25093 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move setting media format code voroshil2007-11-181-7/+6
| | | | | | | closer to connection establishment routine. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25092 b3059339-0415-0410-9bf9-f77b7e298cf2
* Pass all available formats to chain building routine andvoroshil2007-11-181-18/+30
| | | | | | | | | | | | | | | | establish connection with first of available formats. This will make further format negotiation patch slightly simpler. To avoid pins connection error due to unsuported format at top of the list, put requested video format to the top of list. This will also useful with upcoming patch - negotiation will be started from requested format. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25091 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ignore video formats which are supported by devicevoroshil2007-11-181-3/+14
| | | | | | | | but not supported by dshow driver. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25089 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix crash when pin connection fails.voroshil2007-11-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25088 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prevent chains from building more than once.voroshil2007-11-181-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25087 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "out of memory" error.voroshil2007-11-181-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25086 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move chains building code into separate routines.voroshil2007-11-181-18/+71
| | | | | | | | | This makes code more readable and will allow building particular chain before start(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25085 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) Lookup table alignment.voroshil2007-11-171-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25082 b3059339-0415-0410-9bf9-f77b7e298cf2
* Service routine for constructing AM_MEDIA_TYPE structure from voroshil2007-11-171-0/+47
| | | | | | | | given fourcc with help of lookup table. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25081 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable terminating directshow chains with NullRenderer filter,voroshil2007-11-171-0/+7
| | | | | | | | bacause this causes jerky video. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25080 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix bogus bits per pixel values in lookup table.voroshil2007-11-171-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25079 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup sg_io_hdr initialization a bitreimar2007-11-171-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25078 b3059339-0415-0410-9bf9-f77b7e298cf2
* We do not have any use for the sense data, so we don't need a buffer for it.reimar2007-11-171-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25077 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) Indentation fixvoroshil2007-11-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25076 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some more cosmeticsreimar2007-11-171-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25075 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the zeroing directly before the other initialization codereimar2007-11-171-3/+3
| | | | | | | for the array/struct git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25074 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move everything that sets buffer values together.reimar2007-11-171-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25073 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another place that can use AV_WB32reimar2007-11-171-4/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25072 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some cosmetics in dvd_set_speedreimar2007-11-171-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25071 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the DVD speed factor -> KB/s conversion into the casereimar2007-11-171-4/+3
| | | | | | | branch where it is actually used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25070 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a missing close() to dvd_set_speed functionreimar2007-11-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25069 b3059339-0415-0410-9bf9-f77b7e298cf2
* Open device file only right before we need it, so we do notreimar2007-11-171-5/+5
| | | | | | | have to add close to all the abort code-paths git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25068 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not print Ok message when setting speed limit failedreimar2007-11-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25067 b3059339-0415-0410-9bf9-f77b7e298cf2
* AV_WB16(..., 1000) more obviously represents one second that assigningreimar2007-11-171-2/+3
| | | | | | | 0x03 and 0xe8 (0x3e8 = 1000). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25066 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use AV_WB32 instead of manual bit-fiddling when setting DVD speedreimar2007-11-171-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25065 b3059339-0415-0410-9bf9-f77b7e298cf2
* GPCMD_SET_STREAMING command is 12 bytes large, not 16reimar2007-11-171-1/+1
| | | | | | | Patch by Sebastian Kemper (sebastian_ml gmx net) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25064 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ignore stream id when checking rdt packet flagsrtogni2007-11-171-1/+1
| | | | | | | Fixes bugzilla #930 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25063 b3059339-0415-0410-9bf9-f77b7e298cf2
* report why the dvd couldn't be opened. Patch by Jan Knutar jknutar+nic+finicodvb2007-11-162-4/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25059 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure that mplayer will receive actual media typevoroshil2007-11-161-0/+13
| | | | | | | instead of requested value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25057 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix FPS from bitrate calculation (was 8 times larger than real value).voroshil2007-11-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25056 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed forgotten and out of date commentnicodvb2007-11-141-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25053 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unneeded checks on MP_DVDNAV and DVDNAV_FORMAT_AC3 (we need and ↵nicodvb2007-11-141-4/+0
| | | | | | assume our fork) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25052 b3059339-0415-0410-9bf9-f77b7e298cf2
* Not all cards supports changing country code.voroshil2007-11-141-1/+0
| | | | | | | | This patch makes failed call to put_CountryCode non-fatal. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25047 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing call to audio_in_uninit in v4l2 tv driver.voroshil2007-11-131-0/+2
| | | | | | | | | | Without it, tv does not start on the second run when using mplayer in slave or idle mode. Patch by Stanislaw Jesmanowicz stan at jesmanowicz dot com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25033 b3059339-0415-0410-9bf9-f77b7e298cf2
* at the end of open() warn users that seeking won't work correctly if the ↵nicodvb2007-11-101-0/+2
| | | | | | cache is enabled git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25014 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix possible null-pointer-dereference in stream_fill_buffer().cehoyos2007-11-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24991 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memory leak.voroshil2007-11-051-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24972 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix segmentation fault after audio initialization failure in tv driver.voroshil2007-11-051-2/+5
| | | | | | | | Error was caused by double call to driver's uninit() routine. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24971 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused variables and parametersnicodvb2007-10-302-8/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24903 b3059339-0415-0410-9bf9-f77b7e298cf2
* Comment out unused variable, fixes the warning:diego2007-10-301-1/+1
| | | | | | | dvb_tune.c:43: warning: 'dvb_secdev' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24889 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused functions, fixes the warnings:diego2007-10-302-16/+0
| | | | | | | | pnm.c:853: warning: 'pnm_peek_header' defined but not used pnm.c:859: warning: 'pnm_close' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24888 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make functions static if they aren't referenced externally.zuxy2007-10-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24869 b3059339-0415-0410-9bf9-f77b7e298cf2
*