<div dir="ltr">Got it. Well, since I'm tinkering in this area, I might try pushing that information back to Intel. <br><br>Thanks again for all your help. I appreciate your expertise and the fact you're taking the time to educate me. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 6, 2019 at 12:48 PM Sebastian Dröge <<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 2019-05-06 at 10:20 -0500, Ben Rush wrote:<br>
> My question is what's the difference between the gst_video_frame_map<br>
> and the gst_buffer_map in that one is calling into these "meta"<br>
> functions whereas the other is not. They appear to be two separate<br>
> ways of mapping the memory, and indeed have dramatically different<br>
> effects when used in my context, but it's my understanding they<br>
> should both be doing about the same thing. <br>
<br>
They should be the same thing, but the GstVideoFrame variant might be<br>
more optimized. But by default, both should behave the same or<br>
otherwise that's a bug.<br>
<br>
If a special allocator is negotiated between your element and the<br>
MediaSDK elements (or a special caps feature or ...) then it would be<br>
valid to only allow using the GstVideoFrame API (or even a completely<br>
different API) as that could be part of the contract of that<br>
negotiation result. But this must be opt-in.<br>
<br>
-- <br>
Sebastian Dröge, Centricular Ltd · <a href="https://www.centricular.com" rel="noreferrer" target="_blank">https://www.centricular.com</a><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>