reimar
4112aa7bcd
Avoid some casts by changing int8_t* to void* in af_scaletempo
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25097 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-18 14:57:59 +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
reimar
7342753348
100l, fix uint32_t* instead of uint32_t typo in demux_mf type->fourcc table
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25090 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-18 10:02:28 +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
ulion
afa755a662
Add a wish which is available in some filters and players on win32.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25084 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-18 04:20:03 +00:00
nicodvb
a2e9769bae
mention the new build system
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25083 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 21:34:00 +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
reimar
aa93e8e60d
Remove a pointless #ifdef
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25062 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 17:28:33 +00:00
reimar
d0326807a7
Replace if-else constructs for type -> fourcc mapping by a table in demux_mf
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25061 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 17:27:30 +00:00
ulion
647585034a
Fix pausing_toggle not continue play bug when it follows a pause immediately.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25060 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-17 11:23:58 +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
1f2e78fe06
Add missed translatable string in my previous commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25058 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-16 19:09:41 +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
rtogni
873a53b546
Print warning about encrypted audio tracks
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25055 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-15 22:16:41 +00:00
ulion
8db062d683
Remove the pause filter and the cmd queue hack, to know the mplayer going to
...
pause by checking mpctx directly. If there's any video update before the pause
then capture the frame or fallback to use last captured frame as pausing frame.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25054 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-15 01:07:56 +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
nicodvb
d4267c4165
reindentation
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25051 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-14 22:21:04 +00:00
nicodvb
bddc913a27
removed unneeded checks on the version of dvdnav (the acceptance of
...
--minilibs guarantees it's ok) and unneeded assignments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25050 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-14 22:20:19 +00:00
compn
9932764f90
change fftiff from untested to working
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25049 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-14 14:30:10 +00:00
compn
48a2ba01e5
add tif support to demux_mf
...
ok'd by diego and reimar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25048 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-14 13:49:18 +00:00