Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Bug in UMC::AudioFrameConstructor

jere_jones1
Beginner
247 Views

There is a bug in the AudioFrameConstructor that causes a failure in BufferedAudioFrameConstructor after repositioning the demuxer.

In the audio-video-codec samples, AudioFrameConstructor has a member variable (m_bHeaderParsed) that is set to false during Init().

When repositioning the demuxer, Reset() is called on all the frame constructors. However, because AudioFrameConstructor does not override Reset(), m_bHeaderParsed is not set back to false. If it was true prior to the repositioning, BufferedAudioFrameConstructor will never be able to retrieve another frame.

The fix is simple: Override Reset() in AudioFrameConstructor. In it, call the base Reset() and set m_bHeaderParsed = false.

Kind Regards,
Jere

0 Kudos
4 Replies
Gennady_F_Intel
Moderator
247 Views
Jere,
what version of ipp_sampe do you use?
--Gennady
0 Kudos
jere_jones1
Beginner
247 Views
I am using w_ipp-samples_p_7.0.2.048.

Jere
0 Kudos
Gennady_F_Intel
Moderator
247 Views

Hi Jere,
Thanks for your problem you raised.This issue has been submitted to our internal development tracking database for further investigation, we will inform you once a new update becomes available.Here is a bug tracking number for your reference: 200209066.

0 Kudos
Gennady_F_Intel
Moderator
247 Views
Jere,
Could you please check the latest update ( 7.0 Update3). The fix of the issue is availble there.
--Gennady
0 Kudos
Reply