Opened 12 years ago

Closed 12 years ago

#380 closed defect (fixed)

single frame sequence decoding fails to write YUV file

Reported by: ksuehring Owned by:
Priority: minor Milestone: HM-6.0
Component: HM Version: HM-5.2
Keywords: Cc: fbossen, ksuehring, davidf, jct-vc@…


from email report (Uday Krishna G):

While decoding a single frame using HM-6.0rc1 Decoder, it shows error message: "failed to write reconstructed YUV file", but working fine for multiple frames.

In case of IDR frame decoding, for single frame it is trying flush output before opening the recon file. So it fails to write the data to recon YUV.

Code in HM-5.1

In file TAppDecTop.cpp, in decode( ) function, the following condition

                     if(nalu.m_UnitType == NAL_UNIT_CODED_SLICE_IDR ) {
                            xFlushOutput( pcListPic );

i changed code as follows,

                    if(nalu.m_UnitType == NAL_UNIT_CODED_SLICE_IDR  && !(uiPOC == 0)) {
                            xFlushOutput( pcListPic );

then it is working fine.

Is this change correct or any other solution?

Change History (2)

comment:1 Changed 12 years ago by DefaultCC Plugin

  • Cc fbossen ksuehring davidf jct-vc@… added

comment:2 Changed 12 years ago by ksuehring

  • Resolution set to fixed
  • Status changed from new to closed

An alternative solution has been checked in in r2078 (trunk)

Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber, Participant

  • David Flynn(Subscriber)
  • Frank Bossen(Subscriber)
  • jct-vc@…(Subscriber)
  • karl.sharman@…(Always)
  • Karsten Suehring(Reporter, Subscriber, Participant, Always)