[fix] fix the function which converts yuv420p into nv12

This commit is contained in:
dijunkun
2024-10-16 09:48:33 +08:00
parent 6e622b4ab2
commit b10e41ccab
2 changed files with 27 additions and 54 deletions

View File

@@ -339,7 +339,6 @@ int AomAv1Encoder::Encode(const XVideoFrame *video_frame,
// LOG_INFO("Encoded frame qp = {}", qp);
if (on_encoded_image) {
LOG_ERROR("enc {}x{}", video_frame->width, video_frame->height);
on_encoded_image((char *)encoded_frame_, encoded_frame_size_,
frame_type);
if (SAVE_ENCODED_AV1_STREAM) {