[Bug 790752] msdk: supports bufferpool
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Feb 12 21:39:38 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=790752
--- Comment #98 from sreerenj <bsreerenj at gmail.com> ---
(In reply to Hyunjun Ko from comment #95)
> (In reply to sreerenj from comment #92)
> > Review of attachment 368115 [details] [review] [review]:
> >
> > ::: sys/msdk/gstmsdkdec.c
> > @@ +110,3 @@
> > + frame->output_buffer = NULL;
> > + goto retry;
> > + * We should be keep these buffers and check if it's unlocked.
> >
> > I remember you were talking about the possibility to keep a separate surface
> > pool and writing our own acquire_buffer() for the bufferpool. How about just
> > overriding the acquire_buffer() as:
> >
> > gst_msdk_buffer_pool_acqurre_buffer{
> > buffer = GST_BUFFER_POOL_CLASS
> > (gst_msdk_buffer_pool_parent_class)->acquire_buffer()
> > if (buffer.surface.Data.locked)
> > release_buffer() and try again.
> > else
> > ret buffer;
> > }
> >
>
> That's exactly what i was thinking about. and that's why I was confused
> since you said it would be complicated.
> I'm planning to implement it after these patches are merged.
>
>
Aha, okay. Sorry about the confusion :)
Hope we don't need one more pool and a referenced-object in msdk video meta..
--
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