From: Sebastian Dröge Date: Wed, 19 Dec 2012 11:44:31 +0000 (+0100) Subject: omxvideodec: Extract data from the input buffer, not the codec data X-Git-Tag: 1.19.3~501^2~733 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c464924a5f6714589362b7d623eaddf9fa3f461;p=platform%2Fupstream%2Fgstreamer.git omxvideodec: Extract data from the input buffer, not the codec data --- diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 03ccf5f..aee615d 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -1235,7 +1235,7 @@ gst_omx_video_dec_handle_frame (GstVideoDecoder * decoder, /* Copy the buffer content in chunks of size as requested * by the port */ - gst_buffer_extract (codec_data, offset, + gst_buffer_extract (frame->input_buffer, offset, buf->omx_buf->pBuffer + buf->omx_buf->nOffset, buf->omx_buf->nFilledLen);