rockchip-linux / mpp

Media Process Platform (MPP) module
466 stars 155 forks source link

chromium使用v4l2 rkmpp插件无法播放大码率的av1文件 #578

Open amazingfate opened 2 months ago

amazingfate commented 2 months ago

https://github.com/JeffyCN/libv4l-rkmpp/issues/12 由于chromium上游不修复,是否可以把@jeffycn 的hack合并到mpp:

+++ b/osal/linux/os_mem.c
@@ -20,7 +20,9 @@

 int os_malloc(void **memptr, size_t alignment, size_t size)
 {
-    return posix_memalign(memptr, alignment, size);
+    *memptr = malloc(size);
+    return 0;
+    //return posix_memalign(memptr, alignment, size);
 }
JeffyCN commented 2 months ago

it looks like we might need to make a test code to repro it on official chromium(without rockchip stuffs), so the googlers can repro it.

and maybe we should also cc(mail directly) the related commitors of the partition allocator