Skip to content

Commit de8b351

Browse files
authored
Merge branch 'hardsubx_fix' into struct_rewrite
2 parents ceeff56 + 0470040 commit de8b351

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+734
-630
lines changed

.github/workflows/build_linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Build CCExtractor on Linux
22

33
on:
4+
workflow_dispatch:
45
push:
56
paths:
67
- '.github/workflows/build_linux.yml'
@@ -96,7 +97,7 @@ jobs:
9697
restore-keys: ${{ runner.os }}-cargo-
9798
- uses: actions-rs/toolchain@v1
9899
with:
99-
toolchain: 1.56.0
100+
toolchain: 1.57.0
100101
override: true
101102
- name: build
102103
run: cargo build

.github/workflows/build_windows.yml

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Build CCExtractor on Windows
22

33
on:
4+
workflow_dispatch:
45
push:
56
paths:
67
- ".github/workflows/build_windows.yml"
@@ -22,12 +23,12 @@ jobs:
2223
- name: Check out repository
2324
uses: actions/checkout@v3
2425
- name: Setup MSBuild.exe
25-
uses: microsoft/setup-msbuild@v1.0.2
26+
uses: microsoft/setup-msbuild@v1.3.1
2627
- name: Install llvm and clang
2728
run: choco install llvm
2829
- uses: actions-rs/toolchain@v1
2930
with:
30-
toolchain: 1.56.0
31+
toolchain: 1.57.0
3132
override: true
3233
- name: Install Win 10 SDK
3334
uses: ilammy/msvc-dev-cmd@v1
@@ -54,12 +55,12 @@ jobs:
5455
- name: Check out repository
5556
uses: actions/checkout@v3
5657
- name: Setup MSBuild.exe
57-
uses: microsoft/setup-msbuild@v1.0.2
58+
uses: microsoft/setup-msbuild@v1.3.1
5859
- name: Install llvm and clang
5960
run: choco install llvm
6061
- uses: actions-rs/toolchain@v1
6162
with:
62-
toolchain: 1.56.0
63+
toolchain: 1.57.0
6364
override: true
6465
- name: Install Win 10 SDK
6566
uses: ilammy/msvc-dev-cmd@v1
@@ -87,19 +88,25 @@ jobs:
8788
- name: Check out repository
8889
uses: actions/checkout@v3
8990
- name: Setup MSBuild.exe
90-
uses: microsoft/setup-msbuild@v1.0.2
91+
uses: microsoft/setup-msbuild@v1.3.1
9192
- name: Install llvm and clang
9293
uses: egor-tensin/setup-clang@v1
9394
with:
9495
version: latest
9596
platform: x86
9697
- uses: actions-rs/toolchain@v1
9798
with:
98-
toolchain: 1.56.0
99+
toolchain: 1.57.0
99100
override: true
100101
target: i686-pc-windows-msvc
101102
- name: Install Win 10 SDK
102103
uses: ilammy/msvc-dev-cmd@v1
104+
- name: Clone vcpkg
105+
run: git clone --depth 1 --single-branch --recursive https://github.com/microsoft/vcpkg.git
106+
- name: Setup vcpkg
107+
run: cd vcpkg && bootstrap-vcpkg.bat && vcpkg integrate install
108+
- name: Install dependencies
109+
run: cd vcpkg && vcpkg install leptonica:x86-windows-static-md
103110
- name: build Release-Full
104111
env:
105112
LIBCLANG_PATH: "C:\\Program Files\\LLVM\\lib"
@@ -123,15 +130,21 @@ jobs:
123130
- name: Check out repository
124131
uses: actions/checkout@v3
125132
- name: Setup MSBuild.exe
126-
uses: microsoft/setup-msbuild@v1.0.2
133+
uses: microsoft/setup-msbuild@v1.3.1
127134
- name: Install llvm and clang
128135
uses: egor-tensin/setup-clang@v1
129136
with:
130137
version: latest
131138
platform: x86
139+
- name: Clone vcpkg
140+
run: git clone --depth 1 --single-branch --recursive https://github.com/microsoft/vcpkg.git
141+
- name: Setup vcpkg
142+
run: cd vcpkg && bootstrap-vcpkg.bat && vcpkg integrate install
143+
- name: Install dependencies
144+
run: cd vcpkg && vcpkg install leptonica:x86-windows-static-md
132145
- uses: actions-rs/toolchain@v1
133146
with:
134-
toolchain: 1.56.0
147+
toolchain: 1.57.0
135148
override: true
136149
target: i686-pc-windows-msvc
137150
- name: Install Win 10 SDK

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
1717
shell: bash
1818
- name: Setup MSBuild.exe
19-
uses: microsoft/setup-msbuild@v1.0.2
19+
uses: microsoft/setup-msbuild@v1.3.1
2020
- name: Install llvm and clang
2121
uses: egor-tensin/setup-clang@v1
2222
with:

docs/CHANGES.TXT

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
0.95 (to be released)
22
-----------------
3+
- Fix: respect `-stdout` even if multiple CC tracks are present in a Matroska input file (#1453)
34
- Fix: crash in Rust decoder on ATSC1.0 TS Files (#1407)
45
- Removed the --with-gui flag for linux/configure and mac/configure (use the Flutter GUI instead)
56
- Fix: segmentation fault in using hardsubx
67
- New: Add function (and command) that extracts closed caption subtitles as well as burnt-in subtitles from a file in a single pass. (As proposed in issue 726)
78
- Refactored: the `general_loop` function has some code moved to a new function
8-
9+
- Fix: WebVTT X-TIMESTAMP-MAP placement (#1463)
10+
- Disable X-TIMESTAMP-MAP by default (changed option --no-timestamp-map to --timestamp-map)
911

1012
0.94 (2021-12-14)
1113
-----------------

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ if(WIN32)
128128
include_directories ("${PROJECT_SOURCE_DIR}/thirdparty/win_spec_incld/")
129129
include_directories ("${PROJECT_SOURCE_DIR}/thirdparty/win_iconv/")
130130
aux_source_directory ("${PROJECT_SOURCE_DIR}/thirdparty/win_iconv/" SOURCEFILE)
131-
set (EXTRA_LIBS ${EXTRA_LIBS} ws2_32 winmm)
131+
set (EXTRA_LIBS ${EXTRA_LIBS} ws2_32 winmm Bcrypt)
132132
else (WIN32)
133133
# Adding some platform specific library path
134134
link_directories (/opt/local/lib)

0 commit comments

Comments
 (0)