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
1a3b1a8f
Commit
1a3b1a8f
authored
Sep 20, 2008
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove last occurences of yield in the code and comments.
parent
aeb8ac01
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
modules/codec/libass.c
modules/codec/libass.c
+6
-6
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+1
-1
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+1
-1
src/misc/objects.c
src/misc/objects.c
+1
-1
src/modules/modules.c
src/modules/modules.c
+1
-1
src/playlist/control.c
src/playlist/control.c
+1
-1
No files found.
modules/codec/libass.c
View file @
1a3b1a8f
...
...
@@ -78,7 +78,7 @@ typedef struct
ass_renderer_t
*
p_renderer
;
video_format_t
fmt
;
}
ass_handle_t
;
static
ass_handle_t
*
AssHandle
Yie
ld
(
decoder_t
*
p_dec
);
static
ass_handle_t
*
AssHandle
Ho
ld
(
decoder_t
*
p_dec
);
static
void
AssHandleRelease
(
ass_handle_t
*
);
/* */
...
...
@@ -98,7 +98,7 @@ struct decoder_sys_t
subpicture_t
*
p_spu_final
;
};
static
void
DecSysRelease
(
decoder_sys_t
*
p_sys
);
static
void
DecSys
Yie
ld
(
decoder_sys_t
*
p_sys
);
static
void
DecSys
Ho
ld
(
decoder_sys_t
*
p_sys
);
struct
subpicture_sys_t
{
...
...
@@ -140,7 +140,7 @@ static int Create( vlc_object_t *p_this )
return
VLC_ENOMEM
;
/* */
p_sys
->
p_ass
=
AssHandle
Yie
ld
(
p_dec
);
p_sys
->
p_ass
=
AssHandle
Ho
ld
(
p_dec
);
if
(
!
p_sys
->
p_ass
)
{
free
(
p_sys
);
...
...
@@ -174,7 +174,7 @@ static void Destroy( vlc_object_t *p_this )
DecSysRelease
(
p_dec
->
p_sys
);
}
static
void
DecSys
Yie
ld
(
decoder_sys_t
*
p_sys
)
static
void
DecSys
Ho
ld
(
decoder_sys_t
*
p_sys
)
{
vlc_mutex_lock
(
&
p_sys
->
lock
);
p_sys
->
i_refcount
++
;
...
...
@@ -290,7 +290,7 @@ static subpicture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
p_spu
->
pf_destroy
=
DestroySubpicture
;
p_spu
->
p_sys
->
p_dec_sys
=
p_sys
;
DecSys
Yie
ld
(
p_sys
);
DecSys
Ho
ld
(
p_sys
);
block_Release
(
p_block
);
...
...
@@ -630,7 +630,7 @@ static void SubpictureReleaseRegions( spu_t *p_spu, subpicture_t *p_subpic )
}
/* */
static
ass_handle_t
*
AssHandle
Yie
ld
(
decoder_t
*
p_dec
)
static
ass_handle_t
*
AssHandle
Ho
ld
(
decoder_t
*
p_dec
)
{
vlc_mutex_t
*
p_lock
=
var_AcquireMutex
(
"libass"
);
if
(
!
p_lock
)
...
...
modules/gui/qt4/input_manager.cpp
View file @
1a3b1a8f
...
...
@@ -80,7 +80,7 @@ InputManager::~InputManager()
/* Define the Input used.
Add the callbacks on input
p_input is
yi
eld once here */
p_input is
h
eld once here */
void
InputManager
::
setInput
(
input_thread_t
*
_p_input
)
{
delInput
();
...
...
modules/services_discovery/sap.c
View file @
1a3b1a8f
...
...
@@ -663,7 +663,7 @@ static int Demux( demux_t *p_demux )
return
VLC_EGENERIC
;
}
/* This item hasn't been
yi
eld by input_GetItem
/* This item hasn't been
h
eld by input_GetItem
* don't release it */
p_parent_input
=
input_GetItem
(
p_input
);
...
...
src/misc/objects.c
View file @
1a3b1a8f
...
...
@@ -652,7 +652,7 @@ void __vlc_object_release( vlc_object_t *p_this )
/* Slow path */
/* Remember that we cannot hold the spin while waiting on the mutex */
vlc_mutex_lock
(
&
structure_lock
);
/* Take the spin again. Note that another thread may have
yielde
d the
/* Take the spin again. Note that another thread may have
hel
d the
* object in the (very short) mean time. */
vlc_spin_lock
(
&
internals
->
ref_spin
);
b_should_destroy
=
--
internals
->
i_refcount
==
0
;
...
...
src/modules/modules.c
View file @
1a3b1a8f
...
...
@@ -540,7 +540,7 @@ found_shortcut:
p_tmp
=
p_tmp
->
p_next
;
}
/* We can release the list, interesting modules were
yielde
d */
/* We can release the list, interesting modules were
hel
d */
vlc_list_release
(
p_all
);
/* Parse the linked list and use the first successful module */
...
...
src/playlist/control.c
View file @
1a3b1a8f
...
...
@@ -48,7 +48,7 @@ playlist_t *__pl_Hold( vlc_object_t *p_this )
barrier
();
pl
=
libvlc_priv
(
p_this
->
p_libvlc
)
->
p_playlist
;
assert
(
VLC_OBJECT
(
pl
)
!=
p_this
/* This does not make sense to
yie
ld the playlist
assert
(
VLC_OBJECT
(
pl
)
!=
p_this
/* This does not make sense to
ho
ld the playlist
using pl_Hold. use vlc_object_hold in this case */
);
if
(
pl
)
...
...
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