GNOME Bugzilla – Bug 793414
msdk: refactor removing duplicated code in encoder and decoder.
Last modified: 2018-11-03 14:18:20 UTC
There are some duplicate code and can be placed in one place, so called, gstmsdkutil.c. Let's refactor and clean it up.
Currently, I'm planning to move create_msdk_buffer_pool from each element to gstmsdkutils.c After patches in bug #793705 land, there are 3 similar code to create bufferpool. I would work on this first after the vpp patches land. Another one is for MsdkSurface which is also implemented in each element. There could be 2 apis and 1 struct in gstmsdkutils, something like gst_msdk_surface_new and gst_msdk_surface_free for GstMsdkSurface struct.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/658.