[Bug 790752] msdk: supports bufferpool

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 5 11:27:52 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=790752

Víctor Manuel Jáquez Leal <vjaquez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #364988|none                        |reviewed
             status|                            |

--- Comment #31 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Review of attachment 364988:
 --> (https://bugzilla.gnome.org/review?bug=790752&attachment=364988)

::: sys/msdk/msdk.c
@@ +378,3 @@
+
+  if (width & 31)
+    alignment->padding_right = 32 - (width & 31);

What do you think about a macro 

#define GST_MSDK_ALIGNMENT_PADDING(num) (32 - ((num) & 31))

??

-- 
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