[Bug 793865] msdk: encode to wrong color with I420 input.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Mar 12 22:29:42 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=793865
sreerenj <bsreerenj at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #369560|none |needs-work
status| |
--- Comment #10 from sreerenj <bsreerenj at gmail.com> ---
Review of attachment 369560:
--> (https://bugzilla.gnome.org/review?bug=793865&attachment=369560)
::: sys/msdk/gstmsdkvideomemory.c
@@ +177,3 @@
+ SWAP_UINT (mem_id->image.offsets[1], mem_id->image.offsets[2]);
+ SWAP_UINT (mem_id->image.pitches[1], mem_id->image.pitches[2]);
+ }
Please don't alter the actual VAImage Structure. Check my previous comment.
You can just return the changed offset and pitch for I420 so that the
underlined VAImage won't be dirty.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list