Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
138c463b
Commit
138c463b
authored
Aug 31, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move kept sout instance to playlist private data
parent
2734c1b4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
7 deletions
+4
-7
src/libvlc.h
src/libvlc.h
+0
-3
src/playlist/control.c
src/playlist/control.c
+1
-1
src/playlist/engine.c
src/playlist/engine.c
+2
-3
src/playlist/playlist_internal.h
src/playlist/playlist_internal.h
+1
-0
No files found.
src/libvlc.h
View file @
138c463b
...
@@ -225,9 +225,6 @@ typedef struct libvlc_priv_t
...
@@ -225,9 +225,6 @@ typedef struct libvlc_priv_t
vlm_t
*
p_vlm
;
///< the VLM singleton (or NULL)
vlm_t
*
p_vlm
;
///< the VLM singleton (or NULL)
interaction_t
*
p_interaction
;
///< interface interaction object
interaction_t
*
p_interaction
;
///< interface interaction object
httpd_t
*
p_httpd
;
///< HTTP daemon (src/network/httpd.c)
httpd_t
*
p_httpd
;
///< HTTP daemon (src/network/httpd.c)
/* Private playlist data (FIXME - playlist_t is too public...) */
sout_instance_t
*
p_sout
;
///< kept sout instance (for playlist)
}
libvlc_priv_t
;
}
libvlc_priv_t
;
static
inline
libvlc_priv_t
*
libvlc_priv
(
libvlc_int_t
*
libvlc
)
static
inline
libvlc_priv_t
*
libvlc_priv
(
libvlc_int_t
*
libvlc
)
...
...
src/playlist/control.c
View file @
138c463b
...
@@ -511,7 +511,7 @@ playlist_item_t * playlist_NextItem( playlist_t *p_playlist )
...
@@ -511,7 +511,7 @@ playlist_item_t * playlist_NextItem( playlist_t *p_playlist )
int
playlist_PlayItem
(
playlist_t
*
p_playlist
,
playlist_item_t
*
p_item
)
int
playlist_PlayItem
(
playlist_t
*
p_playlist
,
playlist_item_t
*
p_item
)
{
{
input_item_t
*
p_input
=
p_item
->
p_input
;
input_item_t
*
p_input
=
p_item
->
p_input
;
sout_instance_t
**
pp_sout
=
&
libvlc_priv
(
p_playlist
->
p_libvlc
)
->
p_sout
;
sout_instance_t
**
pp_sout
=
&
p_playlist
->
p
->
p_sout
;
int
i_activity
=
var_GetInteger
(
p_playlist
,
"activity"
)
;
int
i_activity
=
var_GetInteger
(
p_playlist
,
"activity"
)
;
msg_Dbg
(
p_playlist
,
"creating new input thread"
);
msg_Dbg
(
p_playlist
,
"creating new input thread"
);
...
...
src/playlist/engine.c
View file @
138c463b
...
@@ -365,8 +365,7 @@ check_input:
...
@@ -365,8 +365,7 @@ check_input:
{
{
int
i_activity
;
int
i_activity
;
input_thread_t
*
p_input
;
input_thread_t
*
p_input
;
sout_instance_t
**
pp_sout
=
sout_instance_t
**
pp_sout
=
&
p_playlist
->
p
->
p_sout
;
&
libvlc_priv
(
p_playlist
->
p_libvlc
)
->
p_sout
;
PL_DEBUG
(
"dead input"
);
PL_DEBUG
(
"dead input"
);
...
@@ -507,7 +506,7 @@ void playlist_LastLoop( playlist_t *p_playlist )
...
@@ -507,7 +506,7 @@ void playlist_LastLoop( playlist_t *p_playlist )
#ifdef ENABLE_SOUT
#ifdef ENABLE_SOUT
/* close the remaining sout-keep (if there was no input atm) */
/* close the remaining sout-keep (if there was no input atm) */
sout_instance_t
*
p_sout
=
libvlc_priv
(
p_playlist
->
p_libvlc
)
->
p_sout
;
sout_instance_t
*
p_sout
=
p_playlist
->
p
->
p_sout
;
if
(
p_sout
)
if
(
p_sout
)
sout_DeleteInstance
(
p_sout
);
sout_DeleteInstance
(
p_sout
);
#endif
#endif
...
...
src/playlist/playlist_internal.h
View file @
138c463b
...
@@ -41,6 +41,7 @@ struct playlist_private_t
...
@@ -41,6 +41,7 @@ struct playlist_private_t
{
{
playlist_preparse_t
*
p_preparse
;
/**< Preparser object */
playlist_preparse_t
*
p_preparse
;
/**< Preparser object */
playlist_fetcher_t
*
p_fetcher
;
/**< Meta and art fetcher object */
playlist_fetcher_t
*
p_fetcher
;
/**< Meta and art fetcher object */
sout_instance_t
*
p_sout
;
/**< Kept sout instance */
};
};
struct
playlist_preparse_t
struct
playlist_preparse_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