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
d80fc2d2
Commit
d80fc2d2
authored
Sep 26, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua_meta: factorize.
parent
63ffc8e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
modules/misc/lua/meta.c
modules/misc/lua/meta.c
+4
-9
No files found.
modules/misc/lua/meta.c
View file @
d80fc2d2
...
...
@@ -180,7 +180,7 @@ static int fetch_art( vlc_object_t *p_this, const char * psz_filename,
}
/*****************************************************************************
* Called through lua_scripts_batch_execute to call '
fetch_art
' on the script
* Called through lua_scripts_batch_execute to call '
read_meta
' on the script
* pointed by psz_filename.
*****************************************************************************/
static
int
read_meta
(
vlc_object_t
*
p_this
,
const
char
*
psz_filename
,
...
...
@@ -192,15 +192,10 @@ static int read_meta( vlc_object_t *p_this, const char * psz_filename,
return
VLC_EGENERIC
;
int
i_ret
=
run
(
p_this
,
psz_filename
,
L
,
"read_meta"
);
if
(
i_ret
!=
VLC_SUCCESS
)
{
lua_close
(
L
);
return
i_ret
;
}
// Continue, all "meta reader" are always run.
lua_close
(
L
);
return
1
;
// Continue even if an error occured: all "meta reader" are always run.
return
i_ret
==
VLC_SUCCESS
?
VLC_EGENERIC
:
i_ret
;
}
...
...
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