Skip to content

Commit e52d7f2

Browse files
authored
Merge branch 'main' into fix/vp9-hwaccel
2 parents 1a0593b + 850ed6a commit e52d7f2

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

patches/ffmpeg-fix-hls-mp4-seek.patch

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/libavformat/hls.c b/libavformat/hls.c
2+
index 2a2fe28a540f..c625e3029116 100644
3+
--- a/libavformat/hls.c
4+
+++ b/libavformat/hls.c
5+
@@ -2506,6 +2506,9 @@ static int hls_read_seek(AVFormatContext *s, int stream_index,
6+
/* Flush the packet queue of the subdemuxer. */
7+
ff_read_frame_flush(pls->ctx);
8+
9+
+ /* Reset the init segment so it's re-fetched and served appropiately */
10+
+ pls->cur_init_section = NULL;
11+
+
12+
pls->seek_timestamp = seek_timestamp;
13+
pls->seek_flags = flags;
14+

scripts/ffmpeg/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ set -u # treat unset variables as an error
66
cd ${SRC_DIR}
77

88
patch -p1 <${PROJECT_DIR}/patches/ffmpeg-fix-vp9-hwaccel.patch
9+
patch -p1 <${PROJECT_DIR}/patches/ffmpeg-fix-hls-mp4-seek.patch
910
patch -p1 <${PROJECT_DIR}/patches/ffmpeg-fix-ios-hdr-texture.patch
1011
patch -p1 <${PROJECT_DIR}/patches/ffmpeg-fix-dash-base-url-escape.patch
1112

scripts/freetype/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ meson setup build \
1111
-Dbzip2=disabled \
1212
-Dharfbuzz=enabled \
1313
-Dmmap=disabled \
14-
-Dpng=disabled \
14+
-Dpng=enabled \
1515
-Dtests=disabled \
16-
-Dzlib=disabled
16+
-Dzlib=enabled
1717
meson compile -C build
1818
meson install -C build

scripts/mpv/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ COMMON_OPTIONS=(
137137
COMMON_VIDEO_OPTIONS=(
138138
`# misc features`
139139
-Duchardet=enabled `# uchardet support`
140+
-Dzlib=enabled `# zlib`
140141

141142
`# video output features`
142143
-Dgl=enabled `# OpenGL context support`

0 commit comments

Comments
 (0)