mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
omx: also reset nTimeStamp when re-using buffers
Some OMX implementations may check if the timestamp of the output buffers they receive is actually not set. https://bugzilla.gnome.org/show_bug.cgi?id=788711
This commit is contained in:
parent
514699594d
commit
b3173144b7
1 changed files with 1 additions and 0 deletions
|
@ -231,6 +231,7 @@ gst_omx_buffer_reset (GstOMXBuffer * buf)
|
|||
buf->omx_buf->nFlags = 0;
|
||||
buf->omx_buf->nOffset = 0;
|
||||
buf->omx_buf->nFilledLen = 0;
|
||||
buf->omx_buf->nTimeStamp = 0;
|
||||
}
|
||||
|
||||
/* NOTE: Call with comp->lock, comp->messages_lock will be used */
|
||||
|
|
Loading…
Reference in a new issue