Sweden-Number/dlls/mf
Giovanni Mascellani da171b8f90 mf/sar: Query for current padding before requesting sample buffer.
According to both MSDN and our impementation, GetBufferSize returns the
size of the buffer, but it doesn't guarantee that all of it is available.
In order to know how much of it is available, the caller must also call
GetCurrentPadding and subtract that number to the buffer size. Failing
to do so might result in GetBuffer returning an error.

Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-22 17:57:47 +02:00
..
tests mf/evr: Add slowest/fastest rate support methods. 2021-04-26 12:20:47 +02:00
Makefile.in mf: Move presentation clock implementation to a separate file. 2021-06-15 20:42:25 +02:00
clock.c mf: Use CRT allocation functions. 2021-06-17 20:01:37 +02:00
copier.c mf: Use CRT allocation functions. 2021-06-17 20:01:37 +02:00
evr.c mf: Use CRT allocation functions. 2021-06-17 20:01:37 +02:00
main.c mf: Use CRT allocation functions. 2021-06-17 20:01:37 +02:00
mf.idl mfuuid: Add file scheme handler CLSID to static library. 2020-04-27 11:41:42 +02:00
mf.rc mf: Register file: scheme handler. 2019-05-02 23:37:57 +02:00
mf.rgs mf: Register file: scheme handler. 2019-05-02 23:37:57 +02:00
mf.spec mf: Add MFRequireProtectedEnvironment(). 2021-04-05 15:07:01 +02:00
mf_private.h mf: Use CRT allocation functions. 2021-06-17 20:01:37 +02:00
samplegrabber.c mf: Use CRT allocation functions. 2021-06-17 20:01:37 +02:00
sar.c mf/sar: Query for current padding before requesting sample buffer. 2021-06-22 17:57:47 +02:00
session.c mf: Use CRT allocation functions. 2021-06-17 20:01:37 +02:00
topology.c mf: Use CRT allocation functions. 2021-06-17 20:01:37 +02:00