mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 23:22:54 +00:00
omxvideodec: Extract data from the input buffer, not the codec data
This commit is contained in:
parent
b93d86abbe
commit
9c464924a5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue