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
0e2340e0
Commit
0e2340e0
authored
Feb 12, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Emit INPUT_EVENT_TITLE/SEEKPOINT when needed.
parent
6f54b381
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/input/input.c
src/input/input.c
+5
-2
No files found.
src/input/input.c
View file @
0e2340e0
...
@@ -891,7 +891,7 @@ static void InitTitle( input_thread_t * p_input )
...
@@ -891,7 +891,7 @@ static void InitTitle( input_thread_t * p_input )
{
{
/* Setup variables */
/* Setup variables */
input_ControlVarNavigation
(
p_input
);
input_ControlVarNavigation
(
p_input
);
input_
ControlVar
Title
(
p_input
,
0
);
input_
SendEvent
Title
(
p_input
,
0
);
}
}
/* Global flag */
/* Global flag */
...
@@ -1880,7 +1880,7 @@ static bool Control( input_thread_t *p_input, int i_type,
...
@@ -1880,7 +1880,7 @@ static bool Control( input_thread_t *p_input, int i_type,
es_out_SetTime
(
p_input
->
p
->
p_es_out
,
-
1
);
es_out_SetTime
(
p_input
->
p
->
p_es_out
,
-
1
);
demux_Control
(
p_demux
,
DEMUX_SET_TITLE
,
i_title
);
demux_Control
(
p_demux
,
DEMUX_SET_TITLE
,
i_title
);
input_
ControlVar
Title
(
p_input
,
i_title
);
input_
SendEvent
Title
(
p_input
,
i_title
);
}
}
}
}
else
if
(
p_input
->
p
->
input
.
i_title
>
0
)
else
if
(
p_input
->
p
->
input
.
i_title
>
0
)
...
@@ -1901,6 +1901,7 @@ static bool Control( input_thread_t *p_input, int i_type,
...
@@ -1901,6 +1901,7 @@ static bool Control( input_thread_t *p_input, int i_type,
stream_Control
(
p_input
->
p
->
input
.
p_stream
,
STREAM_CONTROL_ACCESS
,
stream_Control
(
p_input
->
p
->
input
.
p_stream
,
STREAM_CONTROL_ACCESS
,
ACCESS_SET_TITLE
,
i_title
);
ACCESS_SET_TITLE
,
i_title
);
input_SendEventTitle
(
p_input
,
i_title
);
}
}
}
}
break
;
break
;
...
@@ -1946,6 +1947,7 @@ static bool Control( input_thread_t *p_input, int i_type,
...
@@ -1946,6 +1947,7 @@ static bool Control( input_thread_t *p_input, int i_type,
es_out_SetTime
(
p_input
->
p
->
p_es_out
,
-
1
);
es_out_SetTime
(
p_input
->
p
->
p_es_out
,
-
1
);
demux_Control
(
p_demux
,
DEMUX_SET_SEEKPOINT
,
i_seekpoint
);
demux_Control
(
p_demux
,
DEMUX_SET_SEEKPOINT
,
i_seekpoint
);
input_SendEventSeekpoint
(
p_input
,
p_demux
->
info
.
i_title
,
i_seekpoint
);
}
}
}
}
else
if
(
p_input
->
p
->
input
.
i_title
>
0
)
else
if
(
p_input
->
p
->
input
.
i_title
>
0
)
...
@@ -1980,6 +1982,7 @@ static bool Control( input_thread_t *p_input, int i_type,
...
@@ -1980,6 +1982,7 @@ static bool Control( input_thread_t *p_input, int i_type,
stream_Control
(
p_input
->
p
->
input
.
p_stream
,
STREAM_CONTROL_ACCESS
,
stream_Control
(
p_input
->
p
->
input
.
p_stream
,
STREAM_CONTROL_ACCESS
,
ACCESS_SET_SEEKPOINT
,
i_seekpoint
);
ACCESS_SET_SEEKPOINT
,
i_seekpoint
);
input_SendEventSeekpoint
(
p_input
,
p_access
->
info
.
i_title
,
i_seekpoint
);
}
}
}
}
break
;
break
;
...
...
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