List Info

Thread: CR/CN-client: dtdriver CEncoderSourceHandler::SetupEncode and CAudioSourceHandler




CR/CN-client: dtdriver CEncoderSourceHandler::SetupEncode and CAudioSourceHandler
user name
2008-04-24 05:14:48
Modified by: pbasic at real.com
Date: 2008/04/24
Project: strummer

Synopsis:
dtdriver CEncoderSourceHandler::SetupEncode and
CAudioSourceHandler::OnAudioWrite fixes

Overview:
1) Fixed an issue in CEncoderSourceHandler::SetupEncode when
using
OptimizedTranscode=1.  This function was trying to setup
encoding even
though the PassThru mode was in effect, and it was wrongly
returning
an error code.  The following transcoding use-cases are
covered
(fixed) by this change:
m4a -> m4a
mp4 -> m4a
mp4(video) -> m4a
3gp -> m4a
3gp(video) -> m4a
m4a -> 3gp
mp4 -> 3gp
mp4(video) -> 3gp
3gp -> 3gp
3gp(video) -> 3gp

2) WMSecureHandler gets confused with negative packet
timestamps.  Pre
0 time-stamps are codec system delay and are expected to be
discarded
by audio stream.  Changed behaviour of
CAudioSourceHandler::OnAudioWrite when negative packet
timestamps are
encountered - it causes the renderer to query audio stream
for the
current time and discard and/or clip the audio packets to
match the
desired audio time.  The following transcoding use-cases are
covered
(fixed) by this change:
aac -> wma
m4a -> wma
mp4 -> wma
mp4(video) -> wma
3gp -> wma
3gp(video) -> wma

Files Modified:
datatype/tools/dtdriver/decoder/audio/adecoder.cpp
datatype/tools/dtdriver/engine/cencsrchdlr.cpp

Image Size and Heap Use impact:
No change.

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 )