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
fac610d4
Commit
fac610d4
authored
Nov 17, 2016
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/API: decoder_open_uri() can throw StopDecoder
parent
93209da1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
DecoderAPI.cxx
src/decoder/DecoderAPI.cxx
+1
-1
DecoderAPI.hxx
src/decoder/DecoderAPI.hxx
+3
-2
No files found.
src/decoder/DecoderAPI.cxx
View file @
fac610d4
...
...
@@ -275,7 +275,7 @@ decoder_open_uri(Decoder &decoder, const char *uri)
return
is
;
if
(
dc
.
command
==
DecoderCommand
::
STOP
)
return
nullptr
;
throw
StopDecoder
()
;
cond
.
wait
(
mutex
);
}
...
...
src/decoder/DecoderAPI.hxx
View file @
fac610d4
...
...
@@ -118,8 +118,9 @@ void
decoder_seek_error
(
Decoder
&
decoder
);
/**
* Open a new #InputStream and wait until it's ready. Can get
* cancelled by DecoderCommand::STOP (returns nullptr).
* Open a new #InputStream and wait until it's ready.
*
* Throws #StopDecoder if DecoderCommand::STOP was received.
*
* Throws std::runtime_error on error.
*/
...
...
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