mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
xbmc: update to xbmc-13-ca6c289
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b4cc13b1b9
commit
261c08ea38
@ -17,7 +17,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="xbmc-theme-Confluence"
|
PKG_NAME="xbmc-theme-Confluence"
|
||||||
PKG_VERSION="13-14b7a12"
|
PKG_VERSION="13-ca6c289"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="xbmc"
|
PKG_NAME="xbmc"
|
||||||
PKG_VERSION="13-14b7a12"
|
PKG_VERSION="13-ca6c289"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
@ -1,61 +0,0 @@
|
|||||||
From c8fda2e4646fede5dc243b36f3497ec4f3228e68 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Oleg Oshmyan <chortos@inbox.lv>
|
|
||||||
Date: Fri, 4 Apr 2014 22:56:56 +0300
|
|
||||||
Subject: [PATCH] Fix libass ass_read_memory() signature
|
|
||||||
|
|
||||||
---
|
|
||||||
xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitlesLibass.cpp | 2 +-
|
|
||||||
xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitlesLibass.h | 2 +-
|
|
||||||
xbmc/cores/dvdplayer/DVDSubtitles/DllLibass.h | 3 ++-
|
|
||||||
3 files changed, 4 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitlesLibass.cpp b/xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitlesLibass.cpp
|
|
||||||
index 37c9b09..73a7995 100644
|
|
||||||
--- a/xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitlesLibass.cpp
|
|
||||||
+++ b/xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitlesLibass.cpp
|
|
||||||
@@ -136,7 +136,7 @@ bool CDVDSubtitlesLibass::DecodeDemuxPkt(char* data, int size, double start, dou
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
-bool CDVDSubtitlesLibass::CreateTrack(char* buf, int size)
|
|
||||||
+bool CDVDSubtitlesLibass::CreateTrack(char* buf, size_t size)
|
|
||||||
{
|
|
||||||
CSingleLock lock(m_section);
|
|
||||||
if(!m_library)
|
|
||||||
diff --git a/xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitlesLibass.h b/xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitlesLibass.h
|
|
||||||
index 1722ca9..ee30436 100644
|
|
||||||
--- a/xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitlesLibass.h
|
|
||||||
+++ b/xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitlesLibass.h
|
|
||||||
@@ -39,7 +39,7 @@ class CDVDSubtitlesLibass : public IDVDResourceCounted<CDVDSubtitlesLibass>
|
|
||||||
|
|
||||||
bool DecodeHeader(char* data, int size);
|
|
||||||
bool DecodeDemuxPkt(char* data, int size, double start, double duration);
|
|
||||||
- bool CreateTrack(char* buf, int size);
|
|
||||||
+ bool CreateTrack(char* buf, size_t size);
|
|
||||||
|
|
||||||
private:
|
|
||||||
DllLibass m_dll;
|
|
||||||
diff --git a/xbmc/cores/dvdplayer/DVDSubtitles/DllLibass.h b/xbmc/cores/dvdplayer/DVDSubtitles/DllLibass.h
|
|
||||||
index 4a3cd76..6e30ea4 100644
|
|
||||||
--- a/xbmc/cores/dvdplayer/DVDSubtitles/DllLibass.h
|
|
||||||
+++ b/xbmc/cores/dvdplayer/DVDSubtitles/DllLibass.h
|
|
||||||
@@ -53,6 +53,7 @@ class DllLibassInterface
|
|
||||||
virtual ASS_Image* ass_render_frame(ASS_Renderer *priv, ASS_Track* track, long long now, int* detect_change)=0;
|
|
||||||
virtual ASS_Track* ass_new_track(ASS_Library*)=0;
|
|
||||||
virtual ASS_Track* ass_read_file(ASS_Library* library, char* fname, char* codepage)=0;
|
|
||||||
+ virtual ASS_Track* ass_read_memory(ASS_Library* library, char* buf, size_t bufsize, char* codepage)=0;
|
|
||||||
virtual void ass_free_track(ASS_Track* track)=0;
|
|
||||||
virtual void ass_set_fonts(ASS_Renderer *priv, const char *default_font, const char *default_family, int fc, const char *config, int update) = 0;
|
|
||||||
virtual void ass_set_style_overrides(ASS_Library* priv, char** list)=0;
|
|
||||||
@@ -80,7 +81,7 @@ class DllLibass : public DllDynamic, DllLibassInterface
|
|
||||||
DEFINE_METHOD4(ASS_Image *, ass_render_frame, (ASS_Renderer * p1, ASS_Track * p2, long long p3, int * p4))
|
|
||||||
DEFINE_METHOD1(ASS_Track *, ass_new_track, (ASS_Library * p1))
|
|
||||||
DEFINE_METHOD3(ASS_Track *, ass_read_file, (ASS_Library * p1, char * p2, char * p3))
|
|
||||||
- DEFINE_METHOD4(ASS_Track *, ass_read_memory, (ASS_Library * p1, char * p2, int p3, char * p4))
|
|
||||||
+ DEFINE_METHOD4(ASS_Track *, ass_read_memory, (ASS_Library * p1, char * p2, size_t p3, char * p4))
|
|
||||||
DEFINE_METHOD1(void, ass_free_track, (ASS_Track * p1))
|
|
||||||
DEFINE_METHOD6(void, ass_set_fonts, (ASS_Renderer* p1, const char* p2, const char* p3, int p4, const char* p5, int p6))
|
|
||||||
DEFINE_METHOD2(void, ass_set_style_overrides, (ASS_Library* p1, char** p2))
|
|
||||||
--
|
|
||||||
1.9.1
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
|||||||
From 634e0d7cb9b69b1ef6ced85d604f924b0fbb9769 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Taeyeon Mori <orochimarufan.x3@gmail.com>
|
|
||||||
Date: Sat, 29 Mar 2014 23:04:39 +0100
|
|
||||||
Subject: [PATCH] Make the allowed SSL Ciphers a protocol option for CurlFile.
|
|
||||||
|
|
||||||
Recent versions of libcurl disable the RC4-SHA cipher that is still used by some sites.
|
|
||||||
While certainly the right decision, it breaks (at least) the YouTube addon.
|
|
||||||
|
|
||||||
This patch allows addons to explicitly request disabled ciphers via a protocol option:
|
|
||||||
https://host/path|SSLCipherList=DEFAULT:RC4-SHA
|
|
||||||
---
|
|
||||||
xbmc/filesystem/CurlFile.cpp | 6 ++++++
|
|
||||||
xbmc/filesystem/CurlFile.h | 1 +
|
|
||||||
2 files changed, 7 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/xbmc/filesystem/CurlFile.cpp b/xbmc/filesystem/CurlFile.cpp
|
|
||||||
index f891a24..6e29ffc 100644
|
|
||||||
--- a/xbmc/filesystem/CurlFile.cpp
|
|
||||||
+++ b/xbmc/filesystem/CurlFile.cpp
|
|
||||||
@@ -396,6 +396,7 @@ void CCurlFile::CReadState::Disconnect()
|
|
||||||
m_username = "";
|
|
||||||
m_password = "";
|
|
||||||
m_httpauth = "";
|
|
||||||
+ m_cipherlist = "DEFAULT";
|
|
||||||
m_proxytype = PROXY_HTTP;
|
|
||||||
m_state = new CReadState();
|
|
||||||
m_oldState = NULL;
|
|
||||||
@@ -607,6 +608,9 @@ void CCurlFile::SetCommonOptions(CReadState* state)
|
|
||||||
// the 302 response's body length, which cause the next read request failed, so we ignore
|
|
||||||
// content-length for shoutcast file to workaround this.
|
|
||||||
g_curlInterface.easy_setopt(h, CURLOPT_IGNORE_CONTENT_LENGTH, 1);
|
|
||||||
+
|
|
||||||
+ // Setup allowed TLS/SSL ciphers. New versions of cURL may deprecate things that are still in use.
|
|
||||||
+ g_curlInterface.easy_setopt(h, CURLOPT_SSL_CIPHER_LIST, m_cipherlist.c_str());
|
|
||||||
}
|
|
||||||
|
|
||||||
void CCurlFile::SetRequestHeaders(CReadState* state)
|
|
||||||
@@ -772,6 +776,8 @@ void CCurlFile::ParseAndCorrectUrl(CURL &url2)
|
|
||||||
SetAcceptCharset(value);
|
|
||||||
else if (name.Equals("HttpProxy"))
|
|
||||||
SetStreamProxy(value, PROXY_HTTP);
|
|
||||||
+ else if (name.Equals("SSLCipherList"))
|
|
||||||
+ m_cipherlist = value;
|
|
||||||
else
|
|
||||||
SetRequestHeader(name, value);
|
|
||||||
}
|
|
||||||
diff --git a/xbmc/filesystem/CurlFile.h b/xbmc/filesystem/CurlFile.h
|
|
||||||
index 1ac061f..0410df3 100644
|
|
||||||
--- a/xbmc/filesystem/CurlFile.h
|
|
||||||
+++ b/xbmc/filesystem/CurlFile.h
|
|
||||||
@@ -177,6 +177,7 @@
|
|
||||||
CStdString m_username;
|
|
||||||
CStdString m_password;
|
|
||||||
CStdString m_httpauth;
|
|
||||||
+ CStdString m_cipherlist;
|
|
||||||
bool m_ftppasvip;
|
|
||||||
int m_connecttimeout;
|
|
||||||
int m_lowspeedtime;
|
|
||||||
--
|
|
||||||
1.9.1
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user