Skip to content

Commit 7a49a2a

Browse files
committed
improve bluray title list parse logic
1 parent 69cf1b0 commit 7a49a2a

5 files changed

Lines changed: 845 additions & 79 deletions

do-compile/apple/bluray.sh

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,22 @@ echo "----------------------"
4747

4848
cd $MR_BUILD_SOURCE
4949

50-
if [[ -f 'configure' ]]; then
51-
echo "reuse configure"
52-
else
53-
echo "auto generate configure"
54-
./bootstrap >/dev/null
55-
fi
56-
57-
echo
5850
echo "CC: $MR_CC"
5951
echo "CFG_FLAGS: $CFG_FLAGS"
6052
echo "CFLAGS: $CFLAGS"
61-
echo
62-
53+
echo
6354
export CC="$MR_CC"
6455
export CFLAGS="$CFLAGS"
6556
export LDFLAGS="$CFLAGS"
6657

67-
./configure $CFG_FLAGS
58+
if [[ -f 'configure' ]]; then
59+
echo "reuse configure"
60+
else
61+
echo "auto generate configure"
62+
./bootstrap >/dev/null
63+
echo
64+
./configure $CFG_FLAGS
65+
fi
6866

6967
#----------------------
7068
echo "----------------------"

patches/bluray/0001-skip-check-bdj-and-provide-reading-current-stream-fi.patch

Lines changed: 0 additions & 67 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
From f471537da5733905c300c0820b3e60b09bbf833d Mon Sep 17 00:00:00 2001
2+
From: qianlongxu <qianlongxu@gmail.com>
3+
Date: Wed, 19 Mar 2025 09:36:59 +0800
4+
Subject: [PATCH] skip check bdj
5+
6+
---
7+
src/libbluray/bluray.c | 3 +++
8+
1 file changed, 3 insertions(+)
9+
10+
diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
11+
index b3b55f7..362effc 100644
12+
--- a/src/libbluray/bluray.c
13+
+++ b/src/libbluray/bluray.c
14+
@@ -955,6 +955,9 @@ static int _run_gc(BLURAY *bd, gc_ctrl_e msg, uint32_t param)
15+
16+
static void _check_bdj(BLURAY *bd)
17+
{
18+
+ BD_DEBUG(DBG_BLURAY, "skip check bdj!\n");
19+
+ return;
20+
+
21+
if (!bd->disc_info.bdj_handled) {
22+
if (!bd->disc || bd->disc_info.bdj_detected) {
23+
24+
--
25+
2.39.5 (Apple Git-154)
26+

patches/bluray/0003-adapt-to-iOS-and-tvOS-platform.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From f399d0f4f60d71bde973c8e8f9d7e35f16877f06 Mon Sep 17 00:00:00 2001
22
From: qianlongxu <qianlongxu@gmail.com>
33
Date: Thu, 26 Sep 2024 10:27:06 +0800
4-
Subject: [PATCH 3] adapt to iOS and tvOS platform
4+
Subject: [PATCH] adapt to iOS and tvOS platform
55

66
---
77
Makefile.am | 20 +++++++-

0 commit comments

Comments
 (0)