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
df85fc8b
Commit
df85fc8b
authored
Aug 23, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Never rename an object post attach & un-deprecated find_name
parent
9402e87f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
13 deletions
+0
-13
include/vlc_objects.h
include/vlc_objects.h
+0
-3
src/libvlc.c
src/libvlc.c
+0
-2
src/modules/modules.c
src/modules/modules.c
+0
-8
No files found.
include/vlc_objects.h
View file @
df85fc8b
...
...
@@ -75,9 +75,6 @@ VLC_EXPORT( void, __vlc_object_detach, ( vlc_object_t * ) );
__attribute__
((
deprecated
))
#endif
VLC_EXPORT
(
void
*
,
__vlc_object_find
,
(
vlc_object_t
*
,
int
,
int
)
);
#if defined (__GNUC__) && !defined __cplusplus
__attribute__
((
deprecated
))
#endif
VLC_EXPORT
(
vlc_object_t
*
,
vlc_object_find_name
,
(
vlc_object_t
*
,
const
char
*
,
int
)
);
VLC_EXPORT
(
void
*
,
__vlc_object_hold
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
void
,
__vlc_object_release
,
(
vlc_object_t
*
)
);
...
...
src/libvlc.c
View file @
df85fc8b
...
...
@@ -263,8 +263,6 @@ libvlc_int_t * libvlc_InternalCreate( void )
priv
->
p_playlist
=
NULL
;
priv
->
p_dialog_provider
=
NULL
;
priv
->
p_vlm
=
NULL
;
/* Avoid being called "memcpy":*/
vlc_internals
(
p_libvlc
)
->
psz_object_name
=
strdup
(
"libvlc"
);
/* Initialize message queue */
msg_Create
(
p_libvlc
);
...
...
src/modules/modules.c
View file @
df85fc8b
...
...
@@ -607,14 +607,6 @@ found_shortcut:
{
msg_Dbg
(
p_this
,
"using %s module
\"
%s
\"
"
,
psz_capability
,
p_module
->
psz_object_name
);
if
(
!
vlc_internals
(
p_this
)
->
psz_object_name
)
{
/* This assumes that p_this is the object which will be using the
* module. That's not always the case ... but it is in most cases.
*/
vlc_internals
(
p_this
)
->
psz_object_name
=
strdup
(
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