mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-11 02:24:13 +00:00
omxvideodec: pass a GstOMXBufferMode to gst_omx_buffer_pool_new()
The output_mode is supposed to be a GstOMXBufferMode, not a boolean.
This commit is contained in:
parent
787a2c3203
commit
f706f3b73b
1 changed files with 2 additions and 1 deletions
|
@ -770,7 +770,8 @@ gst_omx_video_dec_allocate_output_buffers (GstOMXVideoDec * self)
|
|||
if (caps)
|
||||
self->out_port_pool =
|
||||
gst_omx_buffer_pool_new (GST_ELEMENT_CAST (self), self->dec, port,
|
||||
self->dmabuf);
|
||||
self->dmabuf ? GST_OMX_BUFFER_MODE_DMABUF :
|
||||
GST_OMX_BUFFER_MODE_SYSTEM_MEMORY);
|
||||
|
||||
#if defined (HAVE_GST_GL)
|
||||
if (eglimage) {
|
||||
|
|
Loading…
Reference in a new issue