Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
6c717962
Commit
6c717962
authored
Aug 05, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taglib: use input item URI
parent
1c0fcde5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
modules/meta_engine/taglib.cpp
modules/meta_engine/taglib.cpp
+7
-5
No files found.
modules/meta_engine/taglib.cpp
View file @
6c717962
...
...
@@ -669,18 +669,20 @@ static int ReadMeta( vlc_object_t* p_this)
{
vlc_mutex_locker
locker
(
&
taglib_lock
);
demux_meta_t
*
p_demux_meta
=
(
demux_meta_t
*
)
p_this
;
demux_t
*
p_demux
=
p_demux_meta
->
p_demux
;
vlc_meta_t
*
p_meta
;
FileRef
f
;
p_demux_meta
->
p_meta
=
NULL
;
if
(
strcmp
(
p_demux
->
psz_access
,
"file"
)
)
return
VLC_EGENERIC
;
char
*
psz_
path
=
strdup
(
p_demux
->
psz_file
);
if
(
!
psz_path
)
char
*
psz_
uri
=
input_item_GetURI
(
p_demux_meta
->
p_item
);
if
(
unlikely
(
psz_uri
==
NULL
)
)
return
VLC_ENOMEM
;
char
*
psz_path
=
make_path
(
psz_uri
);
free
(
psz_uri
);
if
(
psz_path
==
NULL
)
return
VLC_EGENERIC
;
#if defined(_WIN32)
wchar_t
*
wpath
=
ToWide
(
psz_path
);
if
(
wpath
==
NULL
)
...
...
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