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
1200 AV1RawOBU *obu = unit->content;1200 AV1RawOBU *obu = unit->content;
1201 const AV1RawOBUHeader *header;1201 const AV1RawOBUHeader *header;
1202 1202
1203 av_log(avctx, AV_LOG_DEBUG, "OBU idx:%d, type:%d, content available:%d.\n", i, unit->type, !!obu);
1204
1203 if (!obu)1205 if (!obu)
1204 continue;1206 continue;
1205 1207
1206 header = &obu->header;1208 header = &obu->header;
1207 av_log(avctx, AV_LOG_DEBUG, "Obu idx:%d, obu type:%d.\n", i, unit->type);
1208 1209
1209 switch (unit->type) {1210 switch (unit->type) {
1210 case AV1_OBU_SEQUENCE_HEADER:1211 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