You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/cfhd: log version tags too
This commit is contained in:
@@ -457,6 +457,16 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
|
|||||||
} else if (tag == FrameType) {
|
} else if (tag == FrameType) {
|
||||||
s->frame_type = data;
|
s->frame_type = data;
|
||||||
av_log(avctx, AV_LOG_DEBUG, "Frame type %"PRIu16"\n", data);
|
av_log(avctx, AV_LOG_DEBUG, "Frame type %"PRIu16"\n", data);
|
||||||
|
} else if (abstag == VersionMajor) {
|
||||||
|
av_log(avctx, AV_LOG_DEBUG, "Version major %"PRIu16"\n", data);
|
||||||
|
} else if (abstag == VersionMinor) {
|
||||||
|
av_log(avctx, AV_LOG_DEBUG, "Version minor %"PRIu16"\n", data);
|
||||||
|
} else if (abstag == VersionRevision) {
|
||||||
|
av_log(avctx, AV_LOG_DEBUG, "Version revision %"PRIu16"\n", data);
|
||||||
|
} else if (abstag == VersionEdit) {
|
||||||
|
av_log(avctx, AV_LOG_DEBUG, "Version edit %"PRIu16"\n", data);
|
||||||
|
} else if (abstag == Version) {
|
||||||
|
av_log(avctx, AV_LOG_DEBUG, "Version %"PRIu16"\n", data);
|
||||||
} else if (tag == ImageWidth) {
|
} else if (tag == ImageWidth) {
|
||||||
av_log(avctx, AV_LOG_DEBUG, "Width %"PRIu16"\n", data);
|
av_log(avctx, AV_LOG_DEBUG, "Width %"PRIu16"\n", data);
|
||||||
s->coded_width = data;
|
s->coded_width = data;
|
||||||
|
@@ -34,6 +34,10 @@ enum CFHDParam {
|
|||||||
SampleType = 1,
|
SampleType = 1,
|
||||||
SampleIndexTable = 2,
|
SampleIndexTable = 2,
|
||||||
BitstreamMarker = 4,
|
BitstreamMarker = 4,
|
||||||
|
VersionMajor = 5,
|
||||||
|
VersionMinor = 6,
|
||||||
|
VersionRevision = 7,
|
||||||
|
VersionEdit = 8,
|
||||||
TransformType = 10,
|
TransformType = 10,
|
||||||
NumFrames = 11,
|
NumFrames = 11,
|
||||||
ChannelCount = 12,
|
ChannelCount = 12,
|
||||||
@@ -78,6 +82,7 @@ enum CFHDParam {
|
|||||||
Precision = 70,
|
Precision = 70,
|
||||||
InputFormat = 71,
|
InputFormat = 71,
|
||||||
BandCodingFlags = 72,
|
BandCodingFlags = 72,
|
||||||
|
Version = 79,
|
||||||
BandSecondPass = 82,
|
BandSecondPass = 82,
|
||||||
PrescaleTable = 83,
|
PrescaleTable = 83,
|
||||||
EncodedFormat = 84,
|
EncodedFormat = 84,
|
||||||
|
Reference in New Issue
Block a user