summaryrefslogtreecommitdiff
path: root/omx/gstomxvideo.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-06-17 12:06:48 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-06-17 12:06:48 +0300
commita78756c63fac10597e78e93d81767f385b920e81 (patch)
treeb0ce8ab94e751e7425c931cabc9bca31ec8add60 /omx/gstomxvideo.c
parent198e31355f42bbbab7450a8fea42b725a3b890e4 (diff)
downloadgst-omx-a78756c63fac10597e78e93d81767f385b920e81.tar.gz
omx: #define OMX_SKIP64BIT on the RPi as required by their API
Also add generic support for OMX_SKIP64BIT to gst-omx, in case other implementations also #define that for whatever reason. https://bugzilla.gnome.org/show_bug.cgi?id=766475
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;