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
8400da99
Commit
8400da99
authored
Dec 17, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag 'v0.19.7'
parents
ae8bdd47
6d89020f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
7 deletions
+30
-7
NEWS
NEWS
+10
-1
LogBackend.cxx
src/LogBackend.cxx
+6
-0
LogInit.cxx
src/LogInit.cxx
+3
-0
FfmpegDecoderPlugin.cxx
src/decoder/plugins/FfmpegDecoderPlugin.cxx
+7
-4
EmbeddedCuePlaylistPlugin.cxx
src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx
+1
-1
HugeAllocator.hxx
src/util/HugeAllocator.hxx
+3
-1
No files found.
NEWS
View file @
8400da99
...
...
@@ -18,7 +18,7 @@ ver 0.20 (not yet released)
* reset song priority on playback
* remove dependency on GLib
ver 0.19.7 (
not yet released
)
ver 0.19.7 (
2014/12/17
)
* input
- nfs: fix crash while canceling a failing file open operation
- nfs: fix memory leak on connection failure
...
...
@@ -27,7 +27,10 @@ ver 0.19.7 (not yet released)
* storage
- nfs: implement I/O timeout (60 seconds)
* playlist
- embcue: fix filename suffix detection
- don't skip non-existent songs in "listplaylist"
* decoder
- ffmpeg: fix time stamp underflow
* fix memory allocator bug on Windows
ver 0.19.6 (2014/12/08)
...
...
@@ -178,6 +181,12 @@ ver 0.19 (2014/10/10)
* install systemd unit for socket activation
* Android port
ver 0.18.21 (2014/12/17)
* playlist
- embcue: fix filename suffix detection
* decoder
- ffmpeg: fix time stamp underflow
ver 0.18.20 (2014/12/08)
* decoder
- ffmpeg: support FFmpeg 2.5
...
...
src/LogBackend.cxx
View file @
8400da99
...
...
@@ -194,6 +194,12 @@ FileLog(const Domain &domain, const char *message)
domain
.
GetName
(),
chomp_length
(
message
),
message
);
#ifdef WIN32
/* force-flush the log file, because setvbuf() does not seem
to have an effect on WIN32 */
fflush
(
stderr
);
#endif
#ifdef HAVE_GLIB
g_free
(
converted
);
#endif
...
...
src/LogInit.cxx
View file @
8400da99
...
...
@@ -111,6 +111,9 @@ log_early_init(bool verbose)
#ifdef ANDROID
(
void
)
verbose
;
#else
/* force stderr to be line-buffered */
setvbuf
(
stderr
,
nullptr
,
_IOLBF
,
0
);
if
(
verbose
)
SetLogThreshold
(
LogLevel
::
DEBUG
);
#endif
...
...
src/decoder/plugins/FfmpegDecoderPlugin.cxx
View file @
8400da99
...
...
@@ -316,10 +316,13 @@ ffmpeg_send_packet(Decoder &decoder, InputStream &is,
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
-
start_time_fallback
(
*
stream
),
stream
->
time_base
));
if
(
packet
->
pts
>=
0
&&
packet
->
pts
!=
(
int64_t
)
AV_NOPTS_VALUE
)
{
auto
start
=
start_time_fallback
(
*
stream
);
if
(
packet
->
pts
>=
start
)
decoder_timestamp
(
decoder
,
time_from_ffmpeg
(
packet
->
pts
-
start
,
stream
->
time_base
));
}
AVPacket
packet2
=
*
packet
;
...
...
src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx
View file @
8400da99
...
...
@@ -178,7 +178,7 @@ const struct playlist_plugin embcue_playlist_plugin = {
embcue_playlist_open_uri
,
nullptr
,
embcue_playlist_suffixes
,
nullptr
,
embcue_playlist_suffixes
,
nullptr
,
};
src/util/HugeAllocator.hxx
View file @
8400da99
...
...
@@ -71,7 +71,9 @@ static inline void *
HugeAllocate
(
size_t
size
)
{
// TODO: use MEM_LARGE_PAGES
return
VirtualAlloc
(
nullptr
,
size
,
MEM_RESERVE
,
PAGE_READWRITE
);
return
VirtualAlloc
(
nullptr
,
size
,
MEM_COMMIT
|
MEM_RESERVE
,
PAGE_READWRITE
);
}
static
inline
void
...
...
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