History

avcodec/av1dec: Move message of OBU info back to the beginning

So that can show OBU info even it doesn't have decomposed content. And add OBU content status into the message.

Fei Wang committed 2 years ago

Commit 3f7e50f1 parent 2b17a741 file · +2 −1Browse files

Unified · Split

libavcodec/av1dec.c+2−1
@@ -1200,11 +1200,12 @@ static int av1_receive_frame_internal(AVCodecContext *avctx, AVFrame *frame) · 1199 unmodified lines
12001200 AV1RawOBU *obu = unit->content;
12011201 const AV1RawOBUHeader *header;
12021202
1203+ av_log(avctx, AV_LOG_DEBUG, "OBU idx:%d, type:%d, content available:%d.\n", i, unit->type, !!obu);
1204+
12031205 if (!obu)
12041206 continue;
12051207
12061208 header = &obu->header;
1207− av_log(avctx, AV_LOG_DEBUG, "Obu idx:%d, obu type:%d.\n", i, unit->type);
12081209
12091210 switch (unit->type) {
12101211 case AV1_OBU_SEQUENCE_HEADER:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t