Author: janderwald
Date: Mon Aug 24 04:54:53 2009
New Revision: 42900
URL:
http://svn.reactos.org/svn/reactos?rev=42900&view=rev
Log:
- Fix broken check
- Enables Ks Studio to instantiate audio pins
Modified:
trunk/reactos/dll/directx/ksuser/ksuser.c
Modified: trunk/reactos/dll/directx/ksuser/ksuser.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ksuser/ksuser.…
==============================================================================
--- trunk/reactos/dll/directx/ksuser/ksuser.c [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/ksuser/ksuser.c [iso-8859-1] Mon Aug 24 04:54:53 2009
@@ -187,10 +187,7 @@
ULONG BufferSize = sizeof(KSPIN_CONNECT);
PKSDATAFORMAT DataFormat = ((PKSDATAFORMAT) ( ((ULONG)Connect) +
((ULONG)sizeof(KSPIN_CONNECT)) ) );
- if (DataFormat->Flags & KSDATAFORMAT_ATTRIBUTES)
- {
- BufferSize += (ROUND_UP(DataFormat->FormatSize,sizeof(LONGLONG)) +
DataFormat->FormatSize);
- }
+ BufferSize += DataFormat->FormatSize;
return KsiCreateObjectType(FilterHandle,
KSSTRING_Pin,