Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
26d208e5
Commit
26d208e5
authored
May 04, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Privatize p_interaction
parent
973f2f06
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
include/vlc_main.h
include/vlc_main.h
+0
-2
src/libvlc-common.c
src/libvlc-common.c
+3
-3
src/libvlc.h
src/libvlc.h
+1
-1
No files found.
include/vlc_main.h
View file @
26d208e5
...
...
@@ -47,8 +47,6 @@ struct libvlc_int_t
playlist_t
*
p_playlist
;
///< playlist object
vlc_object_t
*
p_interaction
;
///< interface interaction object
void
*
p_stats_computer
;
///< Input thread computing stats (needs cleanup)
global_stats_t
*
p_stats
;
///< Global statistics
...
...
src/libvlc-common.c
View file @
26d208e5
...
...
@@ -180,7 +180,7 @@ libvlc_int_t * libvlc_InternalCreate( void )
priv
=
libvlc_priv
(
p_libvlc
);
p_libvlc
->
p_playlist
=
NULL
;
p
_libvlc
->
p_interaction
=
NULL
;
p
riv
->
p_interaction
=
NULL
;
priv
->
p_vlm
=
NULL
;
p_libvlc
->
psz_object_name
=
strdup
(
"libvlc"
);
...
...
@@ -740,7 +740,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
p_libvlc
->
p_hotkeys
);
/* Initialize interaction */
p
_libvlc
->
p_interaction
=
interaction_Init
(
p_libvlc
);
p
riv
->
p_interaction
=
interaction_Init
(
p_libvlc
);
/* Initialize playlist and get commandline files */
playlist_ThreadCreate
(
p_libvlc
);
...
...
@@ -988,7 +988,7 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
/* Free interaction */
msg_Dbg
(
p_libvlc
,
"removing interaction"
);
vlc_object_release
(
p
_libvlc
->
p_interaction
);
vlc_object_release
(
p
riv
->
p_interaction
);
stats_TimersDumpAll
(
p_libvlc
);
stats_TimersCleanAll
(
p_libvlc
);
...
...
src/libvlc.h
View file @
26d208e5
...
...
@@ -223,7 +223,7 @@ typedef struct libvlc_priv_t
module_t
*
p_memcpy_module
;
///< Fast memcpy plugin used
vlm_t
*
p_vlm
;
///< VLM if created from libvlc-common.c
vlc_object_t
*
p_interaction
;
///< interface interaction object
httpd_t
*
p_httpd
;
///< HTTP daemon (src/network/httpd.c)
}
libvlc_priv_t
;
...
...
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