Commit 9c56c49e authored by Max Kellermann's avatar Max Kellermann

Merge tag 'v0.18.21' into v0.19.x

parents c5720a15 acb798e5
...@@ -7,7 +7,10 @@ ver 0.19.7 (not yet released) ...@@ -7,7 +7,10 @@ ver 0.19.7 (not yet released)
* storage * storage
- nfs: implement I/O timeout (60 seconds) - nfs: implement I/O timeout (60 seconds)
* playlist * playlist
- embcue: fix filename suffix detection
- don't skip non-existent songs in "listplaylist" - don't skip non-existent songs in "listplaylist"
* decoder
- ffmpeg: fix time stamp underflow
* fix memory allocator bug on Windows * fix memory allocator bug on Windows
ver 0.19.6 (2014/12/08) ver 0.19.6 (2014/12/08)
...@@ -158,6 +161,12 @@ ver 0.19 (2014/10/10) ...@@ -158,6 +161,12 @@ ver 0.19 (2014/10/10)
* install systemd unit for socket activation * install systemd unit for socket activation
* Android port * 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) ver 0.18.20 (2014/12/08)
* decoder * decoder
- ffmpeg: support FFmpeg 2.5 - ffmpeg: support FFmpeg 2.5
......
...@@ -313,10 +313,13 @@ ffmpeg_send_packet(Decoder &decoder, InputStream &is, ...@@ -313,10 +313,13 @@ ffmpeg_send_packet(Decoder &decoder, InputStream &is,
AVFrame *frame, AVFrame *frame,
uint8_t **buffer, int *buffer_size) uint8_t **buffer, int *buffer_size)
{ {
if (packet->pts >= 0 && packet->pts != (int64_t)AV_NOPTS_VALUE) if (packet->pts >= 0 && packet->pts != (int64_t)AV_NOPTS_VALUE) {
auto start = start_time_fallback(*stream);
if (packet->pts >= start)
decoder_timestamp(decoder, decoder_timestamp(decoder,
time_from_ffmpeg(packet->pts - start_time_fallback(*stream), time_from_ffmpeg(packet->pts - start,
stream->time_base)); stream->time_base));
}
AVPacket packet2 = *packet; AVPacket packet2 = *packet;
......
...@@ -178,7 +178,7 @@ const struct playlist_plugin embcue_playlist_plugin = { ...@@ -178,7 +178,7 @@ const struct playlist_plugin embcue_playlist_plugin = {
embcue_playlist_open_uri, embcue_playlist_open_uri,
nullptr, nullptr,
embcue_playlist_suffixes,
nullptr, nullptr,
embcue_playlist_suffixes,
nullptr, nullptr,
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment