mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
omx: fix build on rpi
The nTimeStamp field is a OMX_TICKS struct on the rpi so use the proper
macro to set it.
Fix build on the build which has been broken by
b3173144b7
https://bugzilla.gnome.org/show_bug.cgi?id=789052
This commit is contained in:
parent
a0e7fc79e3
commit
6d44c0add5
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +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;
|
||||
GST_OMX_SET_TICKS (buf->omx_buf->nTimeStamp, G_GUINT64_CONSTANT (0));
|
||||
}
|
||||
|
||||
/* NOTE: Call with comp->lock, comp->messages_lock will be used */
|
||||
|
|
Loading…
Reference in a new issue