diff options
author | Josep Torra <n770galaxy@gmail.com> | 2013-04-18 16:03:56 +0200 |
---|---|---|
committer | Josep Torra <n770galaxy@gmail.com> | 2013-04-18 16:03:56 +0200 |
commit | 9d0763a91d3f640f35de72ee5e43b35fffcc1299 (patch) | |
tree | 36d68b28181525e9356b5ced064698730a7babe9 | |
parent | 9de6308382af24c57d6cd3eebd583704159154ca (diff) |
omxvideodec: don't use 'self->dec_out_port' anymore and use just 'port'
Fixes some criticals.
-rw-r--r-- | omx/gstomxvideodec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 342470e..7cfedbf 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -1936,7 +1936,7 @@ gst_omx_video_dec_loop (GstOMXVideoDec * self) GST_ERROR_OBJECT (self, "Unsupported color format: %d", port_def.format.video.eColorFormat); if (buf) - gst_omx_port_release_buffer (self->dec_out_port, buf); + gst_omx_port_release_buffer (port, buf); GST_VIDEO_DECODER_STREAM_UNLOCK (self); goto caps_failed; break; @@ -1956,7 +1956,7 @@ gst_omx_video_dec_loop (GstOMXVideoDec * self) if (!gst_video_decoder_negotiate (GST_VIDEO_DECODER (self))) { if (buf) - gst_omx_port_release_buffer (self->dec_out_port, buf); + gst_omx_port_release_buffer (port, buf); gst_video_codec_state_unref (state); goto caps_failed; } @@ -1978,9 +1978,9 @@ gst_omx_video_dec_loop (GstOMXVideoDec * self) * lock and the videocodec stream lock, if ::reset() * is called at the wrong time */ - if (gst_omx_port_is_flushing (self->dec_out_port)) { + if (gst_omx_port_is_flushing (port)) { GST_DEBUG_OBJECT (self, "Flushing"); - gst_omx_port_release_buffer (self->dec_out_port, buf); + gst_omx_port_release_buffer (port, buf); goto flushing; } |