Commits on Source (4)
-
422ea417
-
cb07a077
-
Allocate a new picture by forwarding the host filter whenever the last filter of the cvpx chain asked a new video buffer. The host filter and last CVPX buffer are supposed to have the same format, but the host filter might play a different role in its parent filter chain than the requesting filter. In particular, filter chain will try to detect the last filter, which can only work for filters belonging to the chain. Fix a crash when plugging a chain NV12->RV32 which creates first a converter (cvpx) CVPX_NV12 -> CVPX_I420 -> I420 and then another converter I420 -> RV32 filter, leading to the cvpx filter allocating the wrong type of output frame. Fixes #27721
352cc4c8 -
Add a CVPX_NV12 -> png conversion test to ensure it doesn't crash. Refs #27721
782bf9ad
Showing
- modules/video_chroma/chain.c 27 additions, 27 deletionsmodules/video_chroma/chain.c
- modules/video_chroma/cvpx.c 25 additions, 1 deletionmodules/video_chroma/cvpx.c
- test/Makefile.am 7 additions, 0 deletionstest/Makefile.am
- test/src/misc/image_cvpx.c 123 additions, 0 deletionstest/src/misc/image_cvpx.c
test/src/misc/image_cvpx.c
0 → 100644