summaryrefslogtreecommitdiff
path: root/omx/gstomxvideo.c
diff options
context:
space:
mode:
Diffstat (limited to 'omx/gstomxvideo.c')
-rw-r--r--omx/gstomxvideo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/omx/gstomxvideo.c b/omx/gstomxvideo.c
index f052788..314c488 100644
--- a/omx/gstomxvideo.c
+++ b/omx/gstomxvideo.c
@@ -172,8 +172,8 @@ gst_omx_video_find_nearest_frame (GstOMXBuffer * buf, GList * frames)
GList *l;
timestamp =
- gst_util_uint64_scale (buf->omx_buf->nTimeStamp, GST_SECOND,
- OMX_TICKS_PER_SECOND);
+ gst_util_uint64_scale (GST_OMX_GET_TICKS (buf->omx_buf->nTimeStamp),
+ GST_SECOND, OMX_TICKS_PER_SECOND);
for (l = frames; l; l = l->next) {
GstVideoCodecFrame *tmp = l->data;