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
9c9b7a3d
Commit
9c9b7a3d
authored
Aug 31, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not cache non existing memcpy module
parent
c36ef28a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
src/libvlc.c
src/libvlc.c
+0
-15
src/libvlc.h
src/libvlc.h
+0
-1
No files found.
src/libvlc.c
View file @
9c9b7a3d
...
@@ -450,11 +450,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
...
@@ -450,11 +450,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
priv
->
b_color
=
var_InheritBool
(
p_libvlc
,
"color"
);
priv
->
b_color
=
var_InheritBool
(
p_libvlc
,
"color"
);
vlc_CPU_dump
(
VLC_OBJECT
(
p_libvlc
)
);
vlc_CPU_dump
(
VLC_OBJECT
(
p_libvlc
)
);
/*
* 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"
);
vlc_object_set_name
(
p_libvlc
,
"main"
);
priv
->
b_stats
=
var_InheritBool
(
p_libvlc
,
"stats"
);
priv
->
b_stats
=
var_InheritBool
(
p_libvlc
,
"stats"
);
...
@@ -491,10 +486,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
...
@@ -491,10 +486,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
if
(
!
p_playlist
)
if
(
!
p_playlist
)
{
{
msg_Err
(
p_libvlc
,
"playlist initialization failed"
);
msg_Err
(
p_libvlc
,
"playlist initialization failed"
);
if
(
priv
->
p_memcpy_module
!=
NULL
)
{
module_unneed
(
p_libvlc
,
priv
->
p_memcpy_module
);
}
module_EndBank
(
true
);
module_EndBank
(
true
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
@@ -716,12 +707,6 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
...
@@ -716,12 +707,6 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
}
}
#endif
#endif
if
(
priv
->
p_memcpy_module
)
{
module_unneed
(
p_libvlc
,
priv
->
p_memcpy_module
);
priv
->
p_memcpy_module
=
NULL
;
}
/* Save the configuration */
/* Save the configuration */
if
(
!
var_InheritBool
(
p_libvlc
,
"ignore-config"
)
)
if
(
!
var_InheritBool
(
p_libvlc
,
"ignore-config"
)
)
config_AutoSaveConfigFile
(
VLC_OBJECT
(
p_libvlc
)
);
config_AutoSaveConfigFile
(
VLC_OBJECT
(
p_libvlc
)
);
...
...
src/libvlc.h
View file @
9c9b7a3d
...
@@ -176,7 +176,6 @@ typedef struct libvlc_priv_t
...
@@ -176,7 +176,6 @@ typedef struct libvlc_priv_t
bool
b_stats
;
///< Whether to collect stats
bool
b_stats
;
///< Whether to collect stats
/* Singleton objects */
/* Singleton objects */
module_t
*
p_memcpy_module
;
///< Fast memcpy plugin used
playlist_t
*
p_playlist
;
///< the playlist singleton
playlist_t
*
p_playlist
;
///< the playlist singleton
struct
media_library_t
*
p_ml
;
///< the ML singleton
struct
media_library_t
*
p_ml
;
///< the ML singleton
vlc_mutex_t
ml_lock
;
///< Mutex for ML creation
vlc_mutex_t
ml_lock
;
///< Mutex for ML creation
...
...
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