diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-06-17 12:06:48 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-06-17 12:06:48 +0300 |
commit | a78756c63fac10597e78e93d81767f385b920e81 (patch) | |
tree | b0ce8ab94e751e7425c931cabc9bca31ec8add60 /omx/gstomxvideo.c | |
parent | 198e31355f42bbbab7450a8fea42b725a3b890e4 (diff) | |
download | gst-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.c | 4 |
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; |