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
0ed10542
Commit
0ed10542
authored
Aug 04, 2019
by
Fredrik Noring
Committed by
Max Kellermann
Aug 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/sidplay: Fix song length initialisation during container scan
The song length was previously undetermined.
parent
ab830f9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
NEWS
NEWS
+2
-0
SidplayDecoderPlugin.cxx
src/decoder/plugins/SidplayDecoderPlugin.cxx
+4
-0
No files found.
NEWS
View file @
0ed10542
ver 0.21.14 (not yet released)
* decoder
- sidplay: show track durations in database
ver 0.21.13 (2019/08/06)
* input
...
...
src/decoder/plugins/SidplayDecoderPlugin.cxx
View file @
0ed10542
...
...
@@ -547,6 +547,10 @@ sidplay_container_scan(Path path_fs)
AddTagHandler
h
(
tag_builder
);
ScanSidTuneInfo
(
info
,
i
,
n_tracks
,
h
);
const
SignedSongTime
duration
=
get_song_length
(
tune
);
if
(
!
duration
.
IsNegative
())
h
.
OnDuration
(
SongTime
(
duration
));
char
track_name
[
32
];
/* Construct container/tune path names, eg.
Delta.sid/tune_001.sid */
...
...
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