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
64e898f6
Commit
64e898f6
authored
Dec 24, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag 'release-0.18.6'
parents
17321663
fb34519b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
8 deletions
+21
-8
NEWS
NEWS
+6
-1
OutputControl.cxx
src/OutputControl.cxx
+2
-0
PlayerThread.cxx
src/PlayerThread.cxx
+4
-1
FfmpegDecoderPlugin.cxx
src/decoder/FfmpegDecoderPlugin.cxx
+6
-4
CdioParanoiaInputPlugin.cxx
src/input/CdioParanoiaInputPlugin.cxx
+1
-1
Riff.cxx
src/tag/Riff.cxx
+2
-1
No files found.
NEWS
View file @
64e898f6
...
...
@@ -5,14 +5,19 @@ ver 0.19 (not yet released)
- alsa: new input plugin
* new resampler option using libsoxr
ver 0.18.6 (
not yet released
)
ver 0.18.6 (
2013/12/24
)
* input
- cdio_paranoia: support libcdio-paranoia 0.90
* tags
- riff: recognize upper-case "ID3" chunk name
* decoder
- ffmpeg: use relative timestamps
* output
- openal: fix build failure on Mac OS X
- osx: fix build failure
* mixer
- alsa: fix build failure with uClibc
* fix replay gain during cross-fade
* accept files without metadata
ver 0.18.5 (2013/11/23)
...
...
src/OutputControl.cxx
View file @
64e898f6
...
...
@@ -96,6 +96,8 @@ audio_output_set_replay_gain_mode(struct audio_output *ao,
{
if
(
ao
->
replay_gain_filter
!=
nullptr
)
replay_gain_filter_set_mode
(
ao
->
replay_gain_filter
,
mode
);
if
(
ao
->
other_replay_gain_filter
!=
nullptr
)
replay_gain_filter_set_mode
(
ao
->
other_replay_gain_filter
,
mode
);
}
void
...
...
src/PlayerThread.cxx
View file @
64e898f6
...
...
@@ -1080,8 +1080,11 @@ Player::Run()
delete
cross_fade_tag
;
if
(
song
!=
nullptr
)
if
(
song
!=
nullptr
)
{
const
auto
uri
=
song
->
GetURI
();
FormatDefault
(
player_domain
,
"played
\"
%s
\"
"
,
uri
.
c_str
());
song
->
Free
();
}
pc
.
Lock
();
...
...
src/decoder/FfmpegDecoderPlugin.cxx
View file @
64e898f6
...
...
@@ -250,13 +250,14 @@ static DecoderCommand
ffmpeg_send_packet
(
Decoder
&
decoder
,
InputStream
&
is
,
const
AVPacket
*
packet
,
AVCodecContext
*
codec_context
,
const
AV
Rational
*
time_base
,
const
AV
Stream
*
stream
,
AVFrame
*
frame
,
uint8_t
**
buffer
,
int
*
buffer_size
)
{
if
(
packet
->
pts
>=
0
&&
packet
->
pts
!=
(
int64_t
)
AV_NOPTS_VALUE
)
decoder_timestamp
(
decoder
,
time_from_ffmpeg
(
packet
->
pts
,
*
time_base
));
time_from_ffmpeg
(
packet
->
pts
-
stream
->
start_time
,
stream
->
time_base
));
AVPacket
packet2
=
*
packet
;
...
...
@@ -469,7 +470,7 @@ ffmpeg_decode(Decoder &decoder, InputStream &input)
if
(
packet
.
stream_index
==
audio_stream
)
cmd
=
ffmpeg_send_packet
(
decoder
,
input
,
&
packet
,
codec_context
,
&
av_stream
->
time_base
,
av_stream
,
frame
,
&
interleaved_buffer
,
&
interleaved_buffer_size
);
else
...
...
@@ -480,7 +481,8 @@ ffmpeg_decode(Decoder &decoder, InputStream &input)
if
(
cmd
==
DecoderCommand
::
SEEK
)
{
int64_t
where
=
time_to_ffmpeg
(
decoder_seek_where
(
decoder
),
av_stream
->
time_base
);
av_stream
->
time_base
)
+
av_stream
->
start_time
;
if
(
av_seek_frame
(
format_context
,
audio_stream
,
where
,
AV_TIME_BASE
)
<
0
)
...
...
src/input/CdioParanoiaInputPlugin.cxx
View file @
64e898f6
...
...
@@ -43,7 +43,7 @@
#include <assert.h>
#ifdef HAVE_CDIO_PARANOIA_PARANOIA_H
#include <cdio/paran
n
oia/paranoia.h>
#include <cdio/paranoia/paranoia.h>
#else
#include <cdio/paranoia.h>
#endif
...
...
src/tag/Riff.cxx
View file @
64e898f6
...
...
@@ -86,7 +86,8 @@ riff_seek_id3(FILE *file)
/* pad byte */
++
size
;
if
(
memcmp
(
chunk
.
id
,
"id3 "
,
4
)
==
0
)
if
(
memcmp
(
chunk
.
id
,
"id3 "
,
4
)
==
0
||
memcmp
(
chunk
.
id
,
"ID3 "
,
4
)
==
0
)
/* found it! */
return
size
;
...
...
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