diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2017-08-09 12:07:33 -0400 |
---|---|---|
committer | Julien Isorce <jisorce@oblong.com> | 2017-12-14 09:00:35 +0000 |
commit | 7048134fa9818fc7814942698e87570f31932f26 (patch) | |
tree | 312882c13aa3fd9b5c9719ad19ac19448b64f15f /omx/gstomxvideodec.h | |
parent | 533ee7fadcd167b92f263c1676ef7468c0ac2959 (diff) | |
download | gst-omx-7048134fa9818fc7814942698e87570f31932f26.tar.gz |
omxvideodec: use dynamic buffer mode on input if possible
Prevent from copying the input buffers between GStreamer and OMX.
Tested on zynqultrascaleplus and rpi (without dynamic buffers).
https://bugzilla.gnome.org/show_bug.cgi?id=787093
Diffstat (limited to 'omx/gstomxvideodec.h')
-rw-r--r-- | omx/gstomxvideodec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/omx/gstomxvideodec.h b/omx/gstomxvideodec.h index d6c46a9..ee719e4 100644 --- a/omx/gstomxvideodec.h +++ b/omx/gstomxvideodec.h @@ -94,6 +94,7 @@ struct _GstOMXVideoDec /* TRUE if decoder is producing dmabuf */ gboolean dmabuf; + GstOMXBufferAllocation input_allocation; }; struct _GstOMXVideoDecClass |