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
ef40e362
Commit
ef40e362
authored
Nov 27, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder_api: cancel initial seek when song is not seekable
Fixes assertion failure.
parent
6452461c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
NEWS
NEWS
+2
-0
decoder_api.c
src/decoder_api.c
+6
-0
No files found.
NEWS
View file @
ef40e362
ver 0.16.6 (2010/??/??)
* decoder:
- fix assertion failure when resuming streams
* event_pipe: fix WIN32 regression
* define WINVER in ./configure
* WIN32: autodetect filesystem encoding
...
...
src/decoder_api.c
View file @
ef40e362
...
...
@@ -95,6 +95,12 @@ decoder_prepare_initial_seek(struct decoder *decoder)
return
true
;
if
(
decoder
->
initial_seek_pending
)
{
if
(
!
dc
->
seekable
)
{
/* seeking is not possible */
decoder
->
initial_seek_pending
=
false
;
return
false
;
}
if
(
dc
->
command
==
DECODE_COMMAND_NONE
)
{
/* begin initial seek */
...
...
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