-
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix libx265 encoded fMP4 HLS playback on Safari
Signed-off-by: nyanmisaka <[email protected]>
- Loading branch information
1 parent
ff12d76
commit bf2de40
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
debian/patches/0060-fix-libx265-encoded-fmp4-hls-playback-on-safari.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Index: jellyfin-ffmpeg/libavformat/movenc.c | ||
=================================================================== | ||
--- jellyfin-ffmpeg.orig/libavformat/movenc.c | ||
+++ jellyfin-ffmpeg/libavformat/movenc.c | ||
@@ -2716,7 +2716,7 @@ static int mov_write_stbl_tag(AVFormatCo | ||
track->par->codec_tag == MKTAG('r','t','p',' ')) && | ||
track->has_keyframes && track->has_keyframes < track->entry) | ||
mov_write_stss_tag(pb, track, MOV_SYNC_SAMPLE); | ||
- if (track->par->codec_type == AVMEDIA_TYPE_VIDEO && track->has_disposable) | ||
+ if (track->par->codec_type == AVMEDIA_TYPE_VIDEO && track->has_disposable && track->entry) | ||
mov_write_sdtp_tag(pb, track); | ||
if (track->mode == MODE_MOV && track->flags & MOV_TRACK_STPS) | ||
mov_write_stss_tag(pb, track, MOV_PARTIAL_SYNC_SAMPLE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters