vcomp/cmpto_j2k: fixed misleading comments

Actually the pool properties is precompress_desc, saved_desc is used
in usual sense to check whether the properties were changed from last
(re)configuratio.
This commit is contained in:
Martin Pulec
2024-08-29 14:21:33 +02:00
parent c2cebd3198
commit af5d5841d0

View File

@@ -141,8 +141,8 @@ struct state_video_compress_j2k {
unsigned int in_frames{}; ///< number of currently encoding frames
mutex lock;
condition_variable frame_popped;
video_desc saved_desc{}; ///< for pool reconfiguration
video_desc precompress_desc{};
video_desc saved_desc{};
video_desc precompress_desc{}; ///< pool properties
video_desc compressed_desc{};
void (*convertFunc)(video_frame *dst, video_frame *src){nullptr};
};