Skip to content

Commit

Permalink
[editor/copy] Log all relevant mismatched SPS info fields for the sak…
Browse files Browse the repository at this point in the history
…e of clarity
  • Loading branch information
eumagga0x2a committed Jul 24, 2019
1 parent 10ac2a1 commit 026190f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avidemux/common/ADM_editor/src/ADM_edVideoCopy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ ADM_cutPointType ADM_Composer::checkSegmentStartsOnIntra(uint32_t segNo)
}
// We have SPS, does it match the one from the next segment?
// Check at least the fields we use here.
#define MATCH(x) if(match && (sps.x != sps2.x)) { ADM_warning("%s value does not match.\n",#x); match=false; }
#define MATCH(x) if(sps.x != sps2.x) { ADM_warning("%s value does not match.\n",#x); match=false; }
bool match=true;
MATCH(hasPocInfo)
MATCH(log2MaxFrameNum)
Expand Down

0 comments on commit 026190f

Please sign in to comment.