Commit 795eed33 authored by Thomas Guillem's avatar Thomas Guillem

codec: vt_utils: remove garbage

kCVPixelBufferBytesPerRowAlignmentKey is set just after with a correct value.

(cherry picked from commit 045813d2)
Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent b52f9d98
......@@ -270,8 +270,6 @@ cvpxpool_create(const video_format_t *fmt, unsigned count)
kCVPixelBufferIOSurfacePropertiesKey, io_dict);
CFRelease(io_dict);
cfdict_set_int32(cvpx_attrs_dict, kCVPixelBufferBytesPerRowAlignmentKey,
fmt->i_width);
cfdict_set_int32(cvpx_attrs_dict, kCVPixelBufferPixelFormatTypeKey,
cvpx_format);
cfdict_set_int32(cvpx_attrs_dict, kCVPixelBufferWidthKey, fmt->i_width);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment