Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
40b504b4
Commit
40b504b4
authored
Mar 22, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure that meta-* are valid UTF8.
parent
b6c17b22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/input/input.c
src/input/input.c
+3
-1
No files found.
src/input/input.c
View file @
40b504b4
...
@@ -2773,8 +2773,10 @@ static void InputMetaUser( input_thread_t *p_input, vlc_meta_t *p_meta )
...
@@ -2773,8 +2773,10 @@ static void InputMetaUser( input_thread_t *p_input, vlc_meta_t *p_meta )
/* Get meta information from user */
/* Get meta information from user */
#define GET_META( field, s ) do { \
#define GET_META( field, s ) do { \
char *psz_string = var_GetNonEmptyString( p_input, (s) ); \
char *psz_string = var_GetNonEmptyString( p_input, (s) ); \
if( psz_string ) \
if( psz_string ) {\
EnsureUTF8( psz_string ); \
vlc_meta_Set( p_meta, vlc_meta_ ## field, psz_string ); \
vlc_meta_Set( p_meta, vlc_meta_ ## field, psz_string ); \
} \
free( psz_string ); } while(0)
free( psz_string ); } while(0)
GET_META
(
Title
,
"meta-title"
);
GET_META
(
Title
,
"meta-title"
);
...
...
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