Skip to content
Snippets Groups Projects

msdkdec: Fixes for downstream which does not support video alignment

Closed Seungha Yang requested to merge seungha.yang/gst-plugins-bad:msdk-align-fix into master
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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading