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
eb463cab
Commit
eb463cab
authored
Oct 04, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few bugs
parent
b5c95699
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
8 deletions
+4
-8
src/misc/variables.c
src/misc/variables.c
+2
-2
src/playlist/control.c
src/playlist/control.c
+1
-1
src/playlist/thread.c
src/playlist/thread.c
+0
-4
src/stream_output/profiles.c
src/stream_output/profiles.c
+1
-1
No files found.
src/misc/variables.c
View file @
eb463cab
...
@@ -275,7 +275,7 @@ int __var_Create( vlc_object_t *p_this, const char *psz_name, int i_type )
...
@@ -275,7 +275,7 @@ int __var_Create( vlc_object_t *p_this, const char *psz_name, int i_type )
vlc_value_t
val
;
vlc_value_t
val
;
if
(
InheritValue
(
p_this
,
psz_name
,
&
val
,
p_var
->
i_type
)
if
(
InheritValue
(
p_this
,
psz_name
,
&
val
,
p_var
->
i_type
)
==
VLC_SUCCESS
)
;
==
VLC_SUCCESS
)
{
{
/* Free data if needed */
/* Free data if needed */
p_var
->
pf_free
(
&
p_var
->
val
);
p_var
->
pf_free
(
&
p_var
->
val
);
...
@@ -619,7 +619,7 @@ int __var_Change( vlc_object_t *p_this, const char *psz_name,
...
@@ -619,7 +619,7 @@ int __var_Change( vlc_object_t *p_this, const char *psz_name,
vlc_value_t
val
;
vlc_value_t
val
;
if
(
InheritValue
(
p_this
,
psz_name
,
&
val
,
p_var
->
i_type
)
if
(
InheritValue
(
p_this
,
psz_name
,
&
val
,
p_var
->
i_type
)
==
VLC_SUCCESS
)
;
==
VLC_SUCCESS
)
{
{
/* Duplicate already done */
/* Duplicate already done */
...
...
src/playlist/control.c
View file @
eb463cab
...
@@ -232,7 +232,7 @@ int playlist_AskForArtEnqueue( playlist_t *p_playlist,
...
@@ -232,7 +232,7 @@ int playlist_AskForArtEnqueue( playlist_t *p_playlist,
p_playlist
->
p_secondary_preparse
->
i_waiting
,
p_playlist
->
p_secondary_preparse
->
i_waiting
,
i
,
p
);
i
,
p
);
vlc_mutex_unlock
(
&
p_playlist
->
p_secondary_preparse
->
object_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
p_secondary_preparse
->
object_lock
);
vlc_cond_signal
(
&
p_playlist
->
p_secondary_preparse
->
object_
lock
);
vlc_cond_signal
(
&
p_playlist
->
p_secondary_preparse
->
object_
wait
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
...
src/playlist/thread.c
View file @
eb463cab
...
@@ -206,19 +206,15 @@ static void EndPlaylist( playlist_t *p_playlist )
...
@@ -206,19 +206,15 @@ static void EndPlaylist( playlist_t *p_playlist )
*****************************************************************************/
*****************************************************************************/
static
void
RunPreparse
(
playlist_preparse_t
*
p_obj
)
static
void
RunPreparse
(
playlist_preparse_t
*
p_obj
)
{
{
playlist_t
*
p_playlist
=
(
playlist_t
*
)
p_obj
->
p_parent
;
/* Tell above that we're ready */
/* Tell above that we're ready */
vlc_thread_ready
(
p_obj
);
vlc_thread_ready
(
p_obj
);
playlist_PreparseLoop
(
p_obj
);
playlist_PreparseLoop
(
p_obj
);
}
}
static
void
RunSecondaryPreparse
(
playlist_secondary_preparse_t
*
p_obj
)
static
void
RunSecondaryPreparse
(
playlist_secondary_preparse_t
*
p_obj
)
{
{
playlist_t
*
p_playlist
=
(
playlist_t
*
)
p_obj
->
p_parent
;
/* Tell above that we're ready */
/* Tell above that we're ready */
vlc_thread_ready
(
p_obj
);
vlc_thread_ready
(
p_obj
);
playlist_SecondaryPreparseLoop
(
p_obj
);
playlist_SecondaryPreparseLoop
(
p_obj
);
}
}
...
...
src/stream_output/profiles.c
View file @
eb463cab
...
@@ -240,7 +240,7 @@ void streaming_ParameterApply( sout_param_t *p_param, char **ppsz_dest,
...
@@ -240,7 +240,7 @@ void streaming_ParameterApply( sout_param_t *p_param, char **ppsz_dest,
break
;
break
;
case
VLC_VAR_STRING
:
case
VLC_VAR_STRING
:
assert
(
ppsz_dest
);
assert
(
ppsz_dest
);
FREENULL
(
*
*
ppsz_dest
);
free
(
*
ppsz_dest
);
*
ppsz_dest
=
p_param
->
value
.
psz_string
?
*
ppsz_dest
=
p_param
->
value
.
psz_string
?
strdup
(
p_param
->
value
.
psz_string
)
:
strdup
(
p_param
->
value
.
psz_string
)
:
NULL
;
NULL
;
...
...
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