History

avcodec/liboapvenc: set the encoder output to OAPV_CFG_VAL_AU_BS_FMT_NONE format

The only AU without bitstream format.

Dawid Kozinski committed 1 year ago

Commit 80877771 parent 5d380e41 file · +8 −0Browse files

Unified · Split

libavcodec/liboapvenc.c+8−0
@@ -307,6 +307,14 @@ static av_cold int liboapve_init(AVCodecContext *avctx) · 306 unmodified lines
307307 return AVERROR_EXTERNAL;
308308 }
309309
310+ int value = OAPV_CFG_VAL_AU_BS_FMT_NONE;
311+ int size = 4;
312+ ret = oapve_config(apv->id, OAPV_CFG_SET_AU_BS_FMT, &value, &size);
313+ if (OAPV_FAILED(ret)) {
314+ av_log(avctx, AV_LOG_ERROR, "Failed to set config for using encoder output format\n");
315+ return AVERROR_EXTERNAL;
316+ }
317+
310318 apv->ifrms.frm[FRM_IDX].imgb = apv_imgb_create(avctx);
311319 if (apv->ifrms.frm[FRM_IDX].imgb == NULL)
312320 return AVERROR(ENOMEM);

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