omxvideodec: Extract data from the input buffer, not the codec data

This commit is contained in:
Sebastian Dröge 2012-12-19 12:44:31 +01:00
parent b93d86abbe
commit 9c464924a5

View file

@ -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);