mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
omxvideodec: Deactivate negotiated pool when output own buffer
If decoder outputs internal buffer and not use OMX_UseBuffer, downstream bufferpool should be stopped.
This commit is contained in:
parent
5d8d478ff8
commit
a7ecda85b6
1 changed files with 2 additions and 0 deletions
|
@ -1170,6 +1170,8 @@ gst_omx_video_dec_allocate_output_buffers (GstOMXVideoDec * self)
|
|||
GST_INFO_OBJECT (self, "Failed to activate internal pool");
|
||||
gst_object_unref (self->out_port_pool);
|
||||
self->out_port_pool = NULL;
|
||||
} else if (!self->use_buffers) {
|
||||
gst_buffer_pool_set_active (pool, FALSE);
|
||||
}
|
||||
} else if (self->out_port_pool) {
|
||||
gst_object_unref (self->out_port_pool);
|
||||
|
|
Loading…
Reference in a new issue