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
e6669e32
Commit
e6669e32
authored
Sep 20, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set object name from module_need()
parent
8ad732cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/libvlc.c
src/libvlc.c
+2
-0
src/modules/modules.c
src/modules/modules.c
+2
-0
No files found.
src/libvlc.c
View file @
e6669e32
...
...
@@ -782,6 +782,8 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
* Choose the best memcpy module
*/
priv
->
p_memcpy_module
=
module_need
(
p_libvlc
,
"memcpy"
,
"$memcpy"
,
false
);
/* Avoid being called "memcpy":*/
vlc_object_set_name
(
p_libvlc
,
"main"
);
priv
->
b_stats
=
config_GetInt
(
p_libvlc
,
"stats"
)
>
0
;
priv
->
i_timers
=
0
;
...
...
src/modules/modules.c
View file @
e6669e32
...
...
@@ -605,6 +605,8 @@ found_shortcut:
{
msg_Dbg
(
p_this
,
"using %s module
\"
%s
\"
"
,
psz_capability
,
p_module
->
psz_object_name
);
vlc_object_set_name
(
p_this
,
psz_alias
?
psz_alias
:
p_module
->
psz_object_name
);
}
else
if
(
count
==
0
)
{
...
...
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