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
8e67d37a
Commit
8e67d37a
authored
May 25, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix id3tag new meta
parent
38f9675c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
include/vlc_meta.h
include/vlc_meta.h
+6
-0
No files found.
include/vlc_meta.h
View file @
8e67d37a
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
#define VLC_META_LANGUAGE N_("Language")
#define VLC_META_LANGUAGE N_("Language")
#define VLC_META_NOW_PLAYING N_("Now Playing")
#define VLC_META_NOW_PLAYING N_("Now Playing")
#define VLC_META_PUBLISHER N_("Publisher")
#define VLC_META_PUBLISHER N_("Publisher")
#define VLC_META_ENCODED_BY N_("Encoded by")
#define VLC_META_CODEC_NAME N_("Codec Name")
#define VLC_META_CODEC_NAME N_("Codec Name")
#define VLC_META_CODEC_DESCRIPTION N_("Codec Description")
#define VLC_META_CODEC_DESCRIPTION N_("Codec Description")
...
@@ -62,6 +63,7 @@ struct vlc_meta_t
...
@@ -62,6 +63,7 @@ struct vlc_meta_t
char
*
psz_language
;
char
*
psz_language
;
char
*
psz_nowplaying
;
char
*
psz_nowplaying
;
char
*
psz_publisher
;
char
*
psz_publisher
;
char
*
psz_encodedby
;
#if 0
#if 0
/* track meta information */
/* track meta information */
int i_track;
int i_track;
...
@@ -88,6 +90,7 @@ struct vlc_meta_t
...
@@ -88,6 +90,7 @@ struct vlc_meta_t
#define vlc_meta_SetLanguage( meta, b ) vlc_meta_Set( meta, language, b );
#define vlc_meta_SetLanguage( meta, b ) vlc_meta_Set( meta, language, b );
#define vlc_meta_SetNowPlaying( meta, b ) vlc_meta_Set( meta, nowplaying, b );
#define vlc_meta_SetNowPlaying( meta, b ) vlc_meta_Set( meta, nowplaying, b );
#define vlc_meta_SetPublisher( meta, b ) vlc_meta_Set( meta, publisher, b );
#define vlc_meta_SetPublisher( meta, b ) vlc_meta_Set( meta, publisher, b );
#define vlc_meta_SetEncodedBy( meta, b ) vlc_meta_Set( meta, encodedby, b );
static
inline
vlc_meta_t
*
vlc_meta_New
(
void
)
static
inline
vlc_meta_t
*
vlc_meta_New
(
void
)
{
{
...
@@ -108,6 +111,7 @@ static inline vlc_meta_t *vlc_meta_New( void )
...
@@ -108,6 +111,7 @@ static inline vlc_meta_t *vlc_meta_New( void )
m
->
psz_language
=
NULL
;
m
->
psz_language
=
NULL
;
m
->
psz_nowplaying
=
NULL
;
m
->
psz_nowplaying
=
NULL
;
m
->
psz_publisher
=
NULL
;
m
->
psz_publisher
=
NULL
;
m
->
psz_encodedby
=
NULL
;
return
m
;
return
m
;
}
}
...
@@ -128,6 +132,7 @@ static inline void vlc_meta_Delete( vlc_meta_t *m )
...
@@ -128,6 +132,7 @@ static inline void vlc_meta_Delete( vlc_meta_t *m )
free
(
m
->
psz_language
);
free
(
m
->
psz_language
);
free
(
m
->
psz_nowplaying
);
free
(
m
->
psz_nowplaying
);
free
(
m
->
psz_publisher
);
free
(
m
->
psz_publisher
);
free
(
m
->
psz_encodedby
);
free
(
m
);
free
(
m
);
}
}
...
@@ -155,6 +160,7 @@ static inline void vlc_meta_Merge( vlc_meta_t *dst, vlc_meta_t *src )
...
@@ -155,6 +160,7 @@ static inline void vlc_meta_Merge( vlc_meta_t *dst, vlc_meta_t *src )
COPY_FIELD
(
language
);
COPY_FIELD
(
language
);
COPY_FIELD
(
nowplaying
);
COPY_FIELD
(
nowplaying
);
COPY_FIELD
(
publisher
);
COPY_FIELD
(
publisher
);
COPY_FIELD
(
encodedby
);
}
}
/** \todo Track meta */
/** \todo Track meta */
...
...
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