Skip to content

msdkdec: Fixes for downstream which does not support video alignment

msdkdec: Add video meta option to buffer pool if it's supported

This can be done by downstream (proposed side) but most decoder
elements are doing this. If this option is not specified,
the buffer pool has no obligation to add video meta to corresponding
buffer object, then offset and stride information will be ignored
which results to broken image.
msdkdec: Manually copy decoded surface to output buffer

The output buffer might have different resolution to our surface,
since the output buffers refer to allocation caps but decoded surface is not.          
So gst_video_frame_copy() cannot be used there.

Fixes: #1022 (closed)

Merge request reports