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:
Guillaume Desmottes 2017-10-09 13:12:35 +02:00 committed by Nicolas Dufresne
parent 514699594d
commit b3173144b7

View file

@ -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 */