List Info

Thread: CR/CN: FFDriver "Server" option fix




CR/CN: FFDriver "Server" option fix
user name
2008-04-24 04:52:42
Modified by: pbasic at real.com
Date: 2008/04/24
Project: strummer

Synopsis:
FFDriver "Server" option fix

Overview:
FFDriver::Init is responsible for option processing.
CDataTypeConverter::ThreadFunc initializes FFDriver by
calling its
methods non-stadard order: FFDriver::InitContext is called
before the
FDriver::Init and so does not pickup any specified options.
FFDriver::Init calls FFDriver::InitContext again internally
during
FFDriver:rive. 
However, MiniContext was already created with
ServerMode=0 in previous call to FFDriver::InitContext, so
ServerMode
remains at 0.
This fix allows options to be passed to
FFDriver::InitContext.  That
in turn allows MiniContext creation code to check for
"Server" option.

Files Modified:
datatype/tools/dtdriver/engine/ffdriver.cpp
datatype/tools/dtdriver/engine/pub/ffdriver.h
datatype/tools/dtdriver/dtdrplin/datatypedr.cpp

Image Size and Heap Use impact:
Negligible.

Platforms and Profiles Affected:
All

Platforms and Profiles Build Verified:
system id: win32-i386-vc7
profile: helix-dtdr-all-defines

Platforms and Profiles Functionality Verified:
x86 Windows XP SP2

Branch:
hxclient_3_1_0_atlas

Copyright assignment:
I am a RealNetworks employee or contractor.

_______________________________________________
Helix-client-dev mailing list
Helix-client-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev

  
  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )