Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
K3b
Commits
99252d09
Commit
99252d09
authored
Apr 15, 2022
by
Albert Astals Cid
Browse files
flac: Work on files with non latin1 characters
BUGS: 452594
parent
f5e66246
Pipeline
#166230
skipped
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
plugins/decoder/flac/k3bflacdecoder.cpp
View file @
99252d09
...
...
@@ -466,7 +466,7 @@ bool K3bFLACDecoderFactory::canDecode( const QUrl& url )
}
FLAC
::
Metadata
::
StreamInfo
info
=
FLAC
::
Metadata
::
StreamInfo
();
if
(
!
FLAC
::
Metadata
::
get_streaminfo
(
url
.
toLocalFile
().
toL
atin1
(),
info
))
{
if
(
!
FLAC
::
Metadata
::
get_streaminfo
(
url
.
toLocalFile
().
toL
ocal8Bit
(),
info
))
{
qDebug
()
<<
"(K3bFLACDecoder) "
<<
url
.
toLocalFile
()
<<
": get_streaminfo failed"
;
return
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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