summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2017-10-16 14:24:50 +0200
committerSebastian Dröge <sebastian@centricular.com>2017-10-19 16:23:01 +0200
commit6d44c0add52dea232642b33578eb021ce9070075 (patch)
treec07596dd1455efc66b257bd7e4f5268b194d5a0c
parenta0e7fc79e3ddfb79cc2fe6cca01e4006560ff90a (diff)
downloadgst-omx-6d44c0add52dea232642b33578eb021ce9070075.tar.gz
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 b3173144b7c1b12c9e1b7571f78659be45d813f6 https://bugzilla.gnome.org/show_bug.cgi?id=789052
-rw-r--r--omx/gstomx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c
index 6a173de..e81a5e4 100644
--- a/omx/gstomx.c
+++ b/omx/gstomx.c
@@ -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 */