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
b6fbc90c
Commit
b6fbc90c
authored
Feb 14, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed es select/unselected event.
parent
f5ca137c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
src/input/es_out.c
src/input/es_out.c
+1
-6
No files found.
src/input/es_out.c
View file @
b6fbc90c
...
@@ -1575,8 +1575,7 @@ static void EsSelect( es_out_t *out, es_out_id_t *es )
...
@@ -1575,8 +1575,7 @@ static void EsSelect( es_out_t *out, es_out_id_t *es )
/* Mark it as selected */
/* Mark it as selected */
input_SendEventEsSelect
(
p_input
,
es
->
fmt
.
i_cat
,
es
->
i_id
);
input_SendEventEsSelect
(
p_input
,
es
->
fmt
.
i_cat
,
es
->
i_id
);
if
(
EsFmtIsTeletext
(
&
es
->
fmt
)
)
input_SendEventTeletextSelect
(
p_input
,
EsFmtIsTeletext
(
&
es
->
fmt
)
?
es
->
i_id
:
-
1
);
input_SendEventTeletextSelect
(
p_input
,
es
->
i_id
);
}
}
static
void
EsUnselect
(
es_out_t
*
out
,
es_out_id_t
*
es
,
bool
b_update
)
static
void
EsUnselect
(
es_out_t
*
out
,
es_out_id_t
*
es
,
bool
b_update
)
...
@@ -1623,10 +1622,6 @@ static void EsUnselect( es_out_t *out, es_out_id_t *es, bool b_update )
...
@@ -1623,10 +1622,6 @@ static void EsUnselect( es_out_t *out, es_out_id_t *es, bool b_update )
if
(
!
b_update
)
if
(
!
b_update
)
return
;
return
;
/* Update var */
if
(
es
->
p_dec
==
NULL
)
return
;
/* Mark it as unselected */
/* Mark it as unselected */
input_SendEventEsSelect
(
p_input
,
es
->
fmt
.
i_cat
,
-
1
);
input_SendEventEsSelect
(
p_input
,
es
->
fmt
.
i_cat
,
-
1
);
if
(
EsFmtIsTeletext
(
&
es
->
fmt
)
)
if
(
EsFmtIsTeletext
(
&
es
->
fmt
)
)
...
...
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