Skip to content

Commit

Permalink
Merge branch 'mpg-duration-fix' of https://github.com/boedy/MPD
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Aug 10, 2024
2 parents f779043 + 731f201 commit 965c466
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/decoder/plugins/Mpg123DecoderPlugin.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,10 @@ mpd_mpg123_stream_decode(DecoderClient &client, InputStream &is)
};

mpd_mpg123_open_stream(*handle, iohandle);

if (is.KnownSize())
mpg123_set_filesize(handle, is.GetSize());

Decode(client, *handle, is.IsSeekable());
}

Expand Down

0 comments on commit 965c466

Please sign in to comment.