mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Odroid_C2: 64_bit_omx_pts
This commit is contained in:
parent
20e8843a91
commit
c108863cde
@ -0,0 +1,25 @@
|
|||||||
|
From be8eb87a89b6d074c16b6d4d138bfe0ff16aa663 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Markus Pfau <pfau@peakwork.de>
|
||||||
|
Date: Wed, 24 Aug 2016 19:16:24 +0200
|
||||||
|
Subject: [PATCH] OMX_PTS type decision by sizeof(long)
|
||||||
|
|
||||||
|
---
|
||||||
|
xbmc/cores/VideoPlayer/DVDCodecs/Video/AMLCodec.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/xbmc/cores/VideoPlayer/DVDCodecs/Video/AMLCodec.cpp b/xbmc/cores/VideoPlayer/DVDCodecs/Video/AMLCodec.cpp
|
||||||
|
index ca8e964..e384711 100644
|
||||||
|
--- a/xbmc/cores/VideoPlayer/DVDCodecs/Video/AMLCodec.cpp
|
||||||
|
+++ b/xbmc/cores/VideoPlayer/DVDCodecs/Video/AMLCodec.cpp
|
||||||
|
@@ -1895,7 +1895,7 @@ int CAMLCodec::DequeueBuffer(int64_t &pts)
|
||||||
|
// Since kernel 3.14 Amlogic changed length and units of PTS values reported here.
|
||||||
|
// To differentiate such PTS values we check for existence of omx_pts_interval_lower
|
||||||
|
// parameter, because it was introduced since kernel 3.14.
|
||||||
|
- if (access("/sys/module/amvideo/parameters/omx_pts_interval_lower", F_OK) != -1)
|
||||||
|
+ if (1)
|
||||||
|
{
|
||||||
|
pts = vbuf.timestamp.tv_sec & 0xFFFFFFFF;
|
||||||
|
pts <<= 32;
|
||||||
|
--
|
||||||
|
1.9.1
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user