Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
8505bf17
Commit
8505bf17
authored
Dec 29, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taglib: write meta in Xiph format. (only one advanced meta is writen for the moment)
parent
91ed4f7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
modules/meta_engine/taglib.cpp
modules/meta_engine/taglib.cpp
+15
-1
No files found.
modules/meta_engine/taglib.cpp
View file @
8505bf17
...
...
@@ -494,8 +494,22 @@ static int WriteMetaToId2v2( ID3v2::Tag* tag, input_item_t* p_item )
* @param p_input: the input item
* @return VLC_SUCCESS if everything goes ok
*/
static
int
WriteMetaToXiph
(
Ogg
::
XiphComment
*
tag
,
input_item_t
*
p_i
nput
)
static
int
WriteMetaToXiph
(
Ogg
::
XiphComment
*
tag
,
input_item_t
*
p_i
tem
)
{
char
*
psz_meta
;
#define WRITE( metaName, keyName ) \
psz_meta = input_item_Get##metaName( p_item ); \
if( psz_meta ) \
{ \
String key( keyName, String::UTF8 ); \
String value( psz_meta, String::UTF8 ); \
tag->addField( key, value, true ); \
} \
free( psz_meta );
WRITE
(
Copyright
,
"COPYRIGHT"
);
#undef WRITE
return
VLC_SUCCESS
;
}
...
...
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