vo: hwdec_aimagereader: add missing image format specifier

This is required since e50db42927, but was missed during the merge.
This commit is contained in:
sfan5 2022-10-03 20:34:25 +02:00
parent 5463d3eeff
commit a2de6524ff
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ static int init(struct ra_hwdec *hw)
p->hwctx = (struct mp_hwdec_ctx) {
.driver_name = hw->driver->name,
.av_device_ref = create_mediacodec_device_ref(p->surface),
.hw_imgfmt = IMGFMT_MEDIACODEC,
};
hwdec_devices_add(hw->devs, &p->hwctx);