Commit e83d2e61 authored by Yonatan Shiferaw's avatar Yonatan Shiferaw
Browse files

PartialOutput cleanup in DecLib.h and DecApp.cpp

parent 1a077204
......@@ -276,7 +276,7 @@ uint32_t DecApp::decode()
m_cDecLib.decode(nalu, m_iSkipFrame, m_iPOCLastDisplay, m_targetOlsIdx);
//Partially output the picture if it is a picture slice that is currently decoded
if ((nalu.m_nalUnitType >= NAL_UNIT_CODED_SLICE_TRAIL) && (nalu.m_nalUnitType <= NAL_UNIT_CODED_SLICE_GDR))
if ( nalu.isSlice() )
bPartialOutput = true;
bPartialOutputLayer = nalu.m_nuhLayerId;
......@@ -295,7 +295,7 @@ public:
bool getMixedNaluTypesInPicFlag();
Picture* getCurrPic() const { return m_pcPic; } //\TODO Only output if there is a decoded slice only // check active picture with -- if (m_pcPic).
Picture* getCurrPic() const { return m_pcPic; } ///< Get the current subpicture that is under reconstruction
void xUpdateRasInit(Slice* slice);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment