nicodvb
a7e85be81e
at startup show audio and subtitle streams available in the chosen title with all their properties
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25224 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 11:35:03 +00:00
ben
2438f463c3
this variable was nothing but a useless memleak
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25215 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 19:54:30 +00:00
ben
2e15ab9351
this local variable can be static
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25214 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 19:51:30 +00:00
nicodvb
038f77e272
-identify also shows the duration(s) of the title(s)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25205 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 23:25:14 +00:00
nicodvb
36bcaa934d
cosmetics: moved identification code to a separate function
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25204 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 23:01:46 +00:00
nicodvb
7252c0e78e
when no title is chosen -identify all titles present in the dvd
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25196 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 00:16:08 +00:00
nicodvb
2e4f57d04d
with -identify show the title being described
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25195 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 00:13:11 +00:00
nicodvb
8171a77ed9
-identify chapters of chosen title
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25193 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 23:50:05 +00:00
zuxy
4a00ef1767
Correct VCD track no. calculation on Windows.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25188 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 11:48:45 +00:00
zuxy
c869211a95
Avoid gcc warning:
...
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
2007-11-28 11:36:23 +00:00
zuxy
ea9b477dc7
Return correct length in ID_VCD_TRACK_n_MSF
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25186 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 11:34:01 +00:00
lu_zero
8e18e41638
Enable -rtsp-port for nemesi
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25184 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-27 21:31:47 +00:00
lu_zero
d4e14ef53e
Remove stray var
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25183 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-27 21:17:20 +00:00
voroshil
84170d0b24
Add missing '\n' in tv scanner results output.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25166 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-26 10:04:18 +00:00
ulion
0bb30d41b3
Support stream redirection from http to mms, fix bug #927 .
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25163 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-26 00:41:21 +00:00
voroshil
e4e63d7a04
Revert r25089 (Ignore video formats which are supported by device
...
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
2007-11-24 07:51:31 +00:00
voroshil
d0fa6cd8c8
Move requested format at top and shift all oters down
...
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
2007-11-24 07:28:05 +00:00
voroshil
fd10d43723
Сreate empty format arrays in case of error in init_chain_common.
...
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
2007-11-24 06:01:18 +00:00
nicodvb
298f569c21
pgc->subp_control and pgc->audio_control are no more bitfields,
...
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
2007-11-23 21:12:11 +00:00
nicodvb
98fe636509
don't include anymore the dvdread headers from the dvdnav directory
...
(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
2007-11-22 22:41:08 +00:00
voroshil
3ce51a62d3
Compilation fix (typo)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25133 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 13:55:39 +00:00
voroshil
02159c2be1
Sizes of arpmt and arStreamCaps must be equal.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25124 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 03:49:23 +00:00
voroshil
01658583a4
Move code related to chain initialization and similar
...
for different chains to separate routine.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25122 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-20 19:33:27 +00:00
voroshil
49b320c00c
Fix mplayer crash caused by r25116
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25121 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-20 17:19:16 +00:00
voroshil
7c9a04f6c0
Remove no more needed check
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25118 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-20 10:02:19 +00:00
voroshil
298dd31e32
Fix totally wrong (due to mess of brackets) structures size check.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25117 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-20 10:01:14 +00:00
voroshil
a9aa43a249
Replace several parameters for get_available_formats_stream
...
and get_available_formats_pin with one chain structure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25116 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-20 09:02:43 +00:00
voroshil
23cc31e505
New routine for reconnecting two pins with new media type
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25115 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 20:19:33 +00:00
voroshil
12fd879776
Move pointer to SampleGrabber filter into chain structure.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25114 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:49:17 +00:00
voroshil
423882fe73
Move common chain uninit code into separate routine.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25113 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:45:01 +00:00
voroshil
54203fe1d1
pass chain structure instead of several variables to build_sub_graph
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25112 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:33:53 +00:00
voroshil
002759bb8a
fix missed change
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25111 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:25:25 +00:00
voroshil
2390359b25
Add capture filter's pointer to vbi chain structure too.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25110 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:24:21 +00:00
voroshil
8e2f39307a
Code unification: get rid of local variable arpmtVBI
...
and use chain structure's arpmt member.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25109 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:15:36 +00:00
voroshil
2f8d411130
Add major media type to chain structure
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25108 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:02:09 +00:00
voroshil
110184516b
One step of code cleanup: move all variables, related
...
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
2007-11-19 18:53:13 +00:00
voroshil
c30eaa2029
100l: Fix long standing copy-paste error:
...
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
2007-11-19 09:05:23 +00:00
voroshil
5f8294fb14
Add all passed to VID_SET_FORMAT formats to the end of
...
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
2007-11-18 13:17:00 +00:00
voroshil
a516b405d8
Ensure that when VID_GET_FORMAT ioctl is called,
...
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
2007-11-18 11:36:57 +00:00
voroshil
8b33e65473
(cosmetics) Indentation fix of previous commit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25094 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-18 11:15:14 +00:00
voroshil
fa18524d05
New media format negotiation code:
...
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
2007-11-18 11:13:28 +00:00
voroshil
1e663de892
Move setting media format code
...
closer to connection establishment routine.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25092 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-18 10:55:51 +00:00
voroshil
790cd7ec47
Pass all available formats to chain building routine and
...
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
2007-11-18 10:51:22 +00:00
voroshil
b7ad0227fb
Ignore video formats which are supported by device
...
but not supported by dshow driver.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25089 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-18 08:24:30 +00:00
voroshil
78a0719de9
Fix crash when pin connection fails.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25088 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-18 06:16:37 +00:00
voroshil
0da22f962f
Prevent chains from building more than once.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25087 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-18 05:20:17 +00:00
voroshil
c8b82b4b80
Handle "out of memory" error.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25086 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-18 05:07:51 +00:00
voroshil
5c684e7e4c
Move chains building code into separate routines.
...
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
2007-11-18 05:02:49 +00:00
voroshil
bf33c147fa
(cosmetics) Lookup table alignment.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25082 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 19:55:16 +00:00
voroshil
88cd527ad0
Service routine for constructing AM_MEDIA_TYPE structure from
...
given fourcc with help of lookup table.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25081 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 19:51:46 +00:00
voroshil
e0f028b2a4
Disable terminating directshow chains with NullRenderer filter,
...
bacause this causes jerky video.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25080 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 19:32:18 +00:00
voroshil
66d7d00ea2
Fix bogus bits per pixel values in lookup table.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25079 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 19:08:03 +00:00
reimar
ee1dd235b3
Cleanup sg_io_hdr initialization a bit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25078 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 19:07:04 +00:00
reimar
9494622558
We do not have any use for the sense data, so we don't need a buffer for it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25077 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 19:02:30 +00:00
voroshil
b40c2c3057
(cosmetics) Indentation fix
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25076 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 18:52:43 +00:00
reimar
e7b7e24cc9
Some more cosmetics
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25075 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 18:52:42 +00:00
reimar
77d7b8c9e0
Move the zeroing directly before the other initialization code
...
for the array/struct
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25074 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 18:49:33 +00:00
reimar
e40792bf0e
Move everything that sets buffer values together.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25073 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 18:46:52 +00:00
reimar
d9f35323fa
Another place that can use AV_WB32
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25072 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 18:40:46 +00:00
reimar
be0a2badf7
Some cosmetics in dvd_set_speed
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25071 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 18:35:36 +00:00
reimar
e0720debf8
Move the DVD speed factor -> KB/s conversion into the case
...
branch where it is actually used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25070 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 18:31:26 +00:00
reimar
dff474a1ce
Add a missing close() to dvd_set_speed function
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25069 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 18:27:17 +00:00
reimar
17a2278031
Open device file only right before we need it, so we do not
...
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
2007-11-17 18:26:25 +00:00
reimar
ed3b33cf03
Do not print Ok message when setting speed limit failed
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25067 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 18:23:46 +00:00
reimar
f647aa04e6
AV_WB16(..., 1000) more obviously represents one second that assigning
...
0x03 and 0xe8 (0x3e8 = 1000).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25066 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 18:22:42 +00:00
reimar
9424a3431d
Use AV_WB32 instead of manual bit-fiddling when setting DVD speed
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25065 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 18:20:04 +00:00
reimar
509ee9591c
GPCMD_SET_STREAMING command is 12 bytes large, not 16
...
Patch by Sebastian Kemper (sebastian_ml gmx net)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25064 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 18:17:19 +00:00
rtogni
de22a05645
Ignore stream id when checking rdt packet flags
...
Fixes bugzilla #930
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25063 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 18:08:53 +00:00
nicodvb
adb4813ca8
report why the dvd couldn't be opened. Patch by Jan Knutar jknutar+nic+fi
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25059 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-16 21:32:09 +00:00
voroshil
13df91222f
Make sure that mplayer will receive actual media type
...
instead of requested value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25057 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-16 18:59:35 +00:00
voroshil
b4355b2f1d
Fix FPS from bitrate calculation (was 8 times larger than real value).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25056 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-16 17:57:12 +00:00
nicodvb
2d6d93d83d
removed forgotten and out of date comment
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25053 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-14 22:26:14 +00:00
nicodvb
5420abe07f
removed unneeded checks on MP_DVDNAV and DVDNAV_FORMAT_AC3 (we need and assume our fork)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25052 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-14 22:25:10 +00:00
voroshil
9ac045e0d1
Not all cards supports changing country code.
...
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
2007-11-14 12:57:17 +00:00
voroshil
70ca379c4c
Add missing call to audio_in_uninit in v4l2 tv driver.
...
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
2007-11-13 11:34:45 +00:00
nicodvb
8d63528e95
at the end of open() warn users that seeking won't work correctly if the cache is enabled
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25014 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-10 20:45:28 +00:00
cehoyos
4be2fcb25e
Fix possible null-pointer-dereference in stream_fill_buffer().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24991 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-08 23:07:19 +00:00
voroshil
0290988bbd
Fix memory leak.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24972 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-05 16:34:15 +00:00
voroshil
f057394851
Fix segmentation fault after audio initialization failure in tv driver.
...
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
2007-11-05 16:33:29 +00:00
nicodvb
3d1e0439ea
removed unused variables and parameters
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24903 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-30 22:30:15 +00:00
diego
94e3b4a0f7
Comment out unused variable, fixes the warning:
...
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
2007-10-30 08:44:15 +00:00
diego
4de99aade1
Remove unused functions, fixes the warnings:
...
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
2007-10-30 08:14:41 +00:00
zuxy
242c5fc73c
Make functions static if they aren't referenced externally.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24869 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 17:46:09 +00:00
reimar
2d84ff3489
Remove assert. Not only are they no help at all and proper checks should
...
be added if desired, also assert.h is not included so compilation may fail.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24859 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 06:47:35 +00:00
voroshil
31d2ed32a6
Don't wait for filling entire audio ringbuffer at each call to grab_audio_frame.
...
Fixes 2 minutes delay before starting playback and audio clicks in sound
(at least for my SAA7134 based card while capturing radio through saa7134-alsa
module).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24849 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-25 15:04:33 +00:00
voroshil
f7e755eb55
Add missing call to audio_in_start_capture.
...
Fixes capturing sound from ALSA devices
(repeated xrun errors, buffer underruns and son on).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24848 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-25 14:57:17 +00:00
ivo
def691696e
add missing include (errno.h). fix compilation on openbsd
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24847 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-24 12:07:29 +00:00
voroshil
803d454576
Simplify handling SET_NORM for V4l1: replace several if-else-if and switch
...
statements with one lookup table;
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24817 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-20 11:46:15 +00:00
voroshil
6114954b08
czech/slovak character set fixes:
...
plain latin characters instead of native were wrongly used in several places
of charset table.
patch from Oldrich Jedlicka oldium dot pro at seznam dot cz
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24816 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-20 05:02:44 +00:00
voroshil
39e5906704
After receiving EINTR 'read' syscall should be restarted.
...
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
2007-10-16 01:53:34 +00:00
voroshil
e3212dafd5
Disable channel scanner when no tuner is present.
...
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
2007-10-15 17:46:17 +00:00
voroshil
dde6ba8352
Fix mplayer segfault when v4l driver initialization (at setting norm
...
stage) failed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24787 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-14 17:56:29 +00:00
voroshil
2585d1e148
#ifdef's in tv.c and tv.h becomes more and more hard to maintain.
...
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
2007-10-14 16:44:32 +00:00
voroshil
a15457b8d7
Remove unnecessary curly braces.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24782 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-14 07:20:24 +00:00
voroshil
f9a227eb94
8 bytes buffer is not enough for at least SECAM-DK.
...
Increase it to 20.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24781 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-14 06:28:51 +00:00
voroshil
19d217a981
Replace duplicated code with call to routine
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24780 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-14 05:56:17 +00:00
voroshil
a776f3be21
10l: routine sets norm from parameter, but prints value of tv norm option
...
(which can be not equal to parameter).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24779 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-14 05:45:20 +00:00
voroshil
40fdbecb5a
(cosmetics) indentation fix of my previous commit and small readability
...
improvement.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24778 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-14 05:18:32 +00:00
voroshil
4800f1bf62
Remove driver-dependent #ifdef from norm_from_string routine.
...
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
2007-10-14 05:15:51 +00:00
voroshil
6ec3aa1159
(cosmetics) remove trailing whitespace
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24776 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-14 04:56:01 +00:00