Skip to content

Commit

Permalink
Add hexdump of HEVCVideoDescriptor
Browse files Browse the repository at this point in the history
Add a hexdump of the HEVCVideoDescriptor in the debug output.
This can help in determining if the fields are presented correct
and it can help in determining the values of the fields that are not
yet fully decoded in the debug output.
  • Loading branch information
kmdewaal committed Oct 30, 2020
1 parent b9b1a07 commit f5f8eef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mythtv/libs/libmythtv/mpeg/mpegdescriptors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,9 @@ QString AVCVideoDescriptor::toString() const

QString HEVCVideoDescriptor::toString() const
{
return QString("HEVC Video: ProfileSpace(%1) Tier(%2) ProfileIDC(%3)")
QString str = QString("HEVC Video: ProfileSpace(%1) Tier(%2) ProfileIDC(%3)")
.arg(ProfileSpace()).arg(Tier()).arg(ProfileIDC());
str.append(" Dumping\n");
str.append(hexdump());
return str;
}

0 comments on commit f5f8eef

Please sign in to comment.