Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
112fcd20
Commit
112fcd20
authored
May 09, 2022
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-hls-seeking' of
https://github.com/burrocargado/MPD
into v0.23.x
parents
c3d393f2
11d1f560
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
NEWS
NEWS
+1
-0
FfmpegDecoderPlugin.cxx
src/decoder/plugins/FfmpegDecoderPlugin.cxx
+3
-4
No files found.
NEWS
View file @
112fcd20
...
...
@@ -2,6 +2,7 @@ ver 0.23.7 (not yet released)
* database
- upnp: support pupnp 1.14
* decoder
- ffmpeg: fix HLS seeking
- opus: fix missing song length on high-latency files
* output
- shout: require at least libshout 2.4.0
...
...
src/decoder/plugins/FfmpegDecoderPlugin.cxx
View file @
112fcd20
...
...
@@ -471,7 +471,7 @@ static bool
IsSeekable
(
const
AVFormatContext
&
format_context
)
noexcept
{
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(58, 6, 100)
return
(
format_context
.
ctx_flags
&
AVFMTCTX_UNSEEKABLE
)
!
=
0
;
return
(
format_context
.
ctx_flags
&
AVFMTCTX_UNSEEKABLE
)
=
=
0
;
#else
(
void
)
format_context
;
return
false
;
...
...
@@ -533,9 +533,8 @@ FfmpegDecode(DecoderClient &client, InputStream *input,
:
FromFfmpegTimeChecked
(
format_context
.
duration
,
AV_TIME_BASE_Q
);
client
.
Ready
(
audio_format
,
input
?
input
->
IsSeekable
()
:
IsSeekable
(
format_context
),
(
input
?
input
->
IsSeekable
()
:
false
)
||
IsSeekable
(
format_context
),
total_time
);
FfmpegParseMetaData
(
client
,
format_context
,
audio_stream
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment