omxvideodec: Don't use API that is not in master yet

It's not really needed here yet, will be needed in future versions
This commit is contained in:
Sebastian Dröge 2013-04-05 13:45:24 +02:00
parent 8a1bb1b4a3
commit 31159a9b36

View file

@ -1576,7 +1576,9 @@ gst_omx_video_dec_deallocate_output_buffers (GstOMXVideoDec * self)
if (self->out_port_pool) { if (self->out_port_pool) {
gst_buffer_pool_set_active (self->out_port_pool, FALSE); gst_buffer_pool_set_active (self->out_port_pool, FALSE);
#if 0
gst_buffer_pool_wait_released (self->out_port_pool); gst_buffer_pool_wait_released (self->out_port_pool);
#endif
GST_OMX_BUFFER_POOL (self->out_port_pool)->deactivated = TRUE; GST_OMX_BUFFER_POOL (self->out_port_pool)->deactivated = TRUE;
gst_object_unref (self->out_port_pool); gst_object_unref (self->out_port_pool);
self->out_port_pool = NULL; self->out_port_pool = NULL;