Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d2aa472e
Commit
d2aa472e
authored
Jun 30, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suxor thread: cleanup
Why call vlc_thread_ready when the other side does not wait anyway...
parent
674ccb48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
src/video_output/video_output.c
src/video_output/video_output.c
+4
-10
No files found.
src/video_output/video_output.c
View file @
d2aa472e
...
@@ -1413,18 +1413,12 @@ typedef struct suxor_thread_t
...
@@ -1413,18 +1413,12 @@ typedef struct suxor_thread_t
static
void
SuxorRestartVideoES
(
suxor_thread_t
*
p_this
)
static
void
SuxorRestartVideoES
(
suxor_thread_t
*
p_this
)
{
{
vlc_value_t
val
;
vlc_thread_ready
(
p_this
);
/* Now restart current video stream */
/* Now restart current video stream */
var_Get
(
p_this
->
p_input
,
"video-es"
,
&
val
);
int
val
=
var_GetInteger
(
p_this
->
p_input
,
"video-es"
);
if
(
val
.
i_int
>=
0
)
if
(
val
>=
0
)
{
{
vlc_value_t
val_es
;
var_SetInteger
(
p_this
->
p_input
,
"video-es"
,
-
VIDEO_ES
);
val_es
.
i_int
=
-
VIDEO_ES
;
var_SetInteger
(
p_this
->
p_input
,
"video-es"
,
val
);
var_Set
(
p_this
->
p_input
,
"video-es"
,
val_es
);
var_Set
(
p_this
->
p_input
,
"video-es"
,
val
);
}
}
vlc_object_release
(
p_this
->
p_input
);
vlc_object_release
(
p_this
->
p_input
);
...
...
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