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
63aadee0
Commit
63aadee0
authored
Jun 13, 2011
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: str_format_meta: fix few variable names
parent
f6d71f73
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
src/text/strings.c
src/text/strings.c
+11
-11
No files found.
src/text/strings.c
View file @
63aadee0
...
...
@@ -738,12 +738,12 @@ char *str_format_meta( vlc_object_t *p_object, const char *string )
break
;
case
's'
:
{
char
*
lang
=
NULL
;
char
*
psz_
lang
=
NULL
;
if
(
p_input
)
lang
=
var_GetNonEmptyString
(
p_input
,
"sub-language"
);
if
(
lang
==
NULL
)
lang
=
strdup
(
b_empty_if_na
?
""
:
"-"
);
INSERT_STRING
(
lang
);
psz_
lang
=
var_GetNonEmptyString
(
p_input
,
"sub-language"
);
if
(
psz_
lang
==
NULL
)
psz_
lang
=
strdup
(
b_empty_if_na
?
""
:
"-"
);
INSERT_STRING
(
psz_
lang
);
break
;
}
case
't'
:
...
...
@@ -901,21 +901,21 @@ char *str_format_meta( vlc_object_t *p_object, const char *string )
case
'Z'
:
if
(
p_item
)
{
char
*
now_playing
=
input_item_GetNowPlaying
(
p_item
);
if
(
now_playing
==
NULL
)
char
*
psz_
now_playing
=
input_item_GetNowPlaying
(
p_item
);
if
(
psz_
now_playing
==
NULL
)
{
char
*
temp
=
input_item_GetTitleFbName
(
p_item
);
char
*
psz_
temp
=
input_item_GetTitleFbName
(
p_item
);
char
*
psz_artist
=
input_item_GetArtist
(
p_item
);
if
(
!
EMPTY_STR
(
temp
)
)
if
(
!
EMPTY_STR
(
psz_
temp
)
)
{
INSERT_STRING
(
temp
);
INSERT_STRING
(
psz_
temp
);
if
(
!
EMPTY_STR
(
psz_artist
)
)
INSERT_STRING_NO_FREE
(
" - "
);
}
INSERT_STRING
(
psz_artist
);
}
else
INSERT_STRING
(
now_playing
);
INSERT_STRING
(
psz_
now_playing
);
}
break
;
...
...
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