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
74dbaade
Commit
74dbaade
authored
Mar 30, 2016
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/Thread: use "ffmpeg" as fallback instead of "mad"
Adds support for stream codecs which havn't been explicitly listed in ffmpeg_mime_types.
parent
53677172
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
NEWS
NEWS
+2
-0
DecoderThread.cxx
src/decoder/DecoderThread.cxx
+4
-0
No files found.
NEWS
View file @
74dbaade
ver 0.19.15 (not yet released)
ver 0.19.15 (not yet released)
* decoder
- ffmpeg: use as fallback instead of "mad" if no plugin matches
* fix more build failures on non-glibc builds due to constexpr Mutex
* fix more build failures on non-glibc builds due to constexpr Mutex
ver 0.19.14 (2016/03/18)
ver 0.19.14 (2016/03/18)
...
...
src/decoder/DecoderThread.cxx
View file @
74dbaade
...
@@ -255,7 +255,11 @@ decoder_run_stream_fallback(Decoder &decoder, InputStream &is)
...
@@ -255,7 +255,11 @@ decoder_run_stream_fallback(Decoder &decoder, InputStream &is)
{
{
const
struct
DecoderPlugin
*
plugin
;
const
struct
DecoderPlugin
*
plugin
;
#ifdef HAVE_FFMPEG
plugin
=
decoder_plugin_from_name
(
"ffmpeg"
);
#else
plugin
=
decoder_plugin_from_name
(
"mad"
);
plugin
=
decoder_plugin_from_name
(
"mad"
);
#endif
return
plugin
!=
nullptr
&&
plugin
->
stream_decode
!=
nullptr
&&
return
plugin
!=
nullptr
&&
plugin
->
stream_decode
!=
nullptr
&&
decoder_stream_decode
(
*
plugin
,
decoder
,
is
);
decoder_stream_decode
(
*
plugin
,
decoder
,
is
);
}
}
...
...
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