Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
368b4f25
Commit
368b4f25
authored
Dec 20, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added INPUT_EVENT_ITEM_EPG event.
parent
9fcd7b2f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
0 deletions
+9
-0
include/vlc_input.h
include/vlc_input.h
+2
-0
src/input/es_out.c
src/input/es_out.c
+2
-0
src/input/event.c
src/input/event.c
+4
-0
src/input/event.h
src/input/event.h
+1
-0
No files found.
include/vlc_input.h
View file @
368b4f25
...
...
@@ -414,6 +414,8 @@ typedef enum input_event_type_e
INPUT_EVENT_ITEM_INFO
,
/* input_item_t name has changed */
INPUT_EVENT_ITEM_NAME
,
/* input_item_t epg has changed */
INPUT_EVENT_ITEM_EPG
,
/* Input statistics have been updated */
INPUT_EVENT_STATISTICS
,
...
...
src/input/es_out.c
View file @
368b4f25
...
...
@@ -373,6 +373,7 @@ static void EsOutDelete( es_out_t *out )
TAB_CLEAN
(
p_sys
->
i_pgrm
,
p_sys
->
pgrm
);
input_item_SetEpgOffline
(
p_sys
->
p_input
->
p
->
p_item
);
input_SendEventMetaEpg
(
p_sys
->
p_input
);
vlc_mutex_destroy
(
&
p_sys
->
lock
);
...
...
@@ -1267,6 +1268,7 @@ static void EsOutProgramEpg( es_out_t *out, int i_group, const vlc_epg_t *p_epg
epg
.
psz_name
=
psz_cat
;
input_item_SetEpg
(
p_item
,
&
epg
);
input_SendEventMetaEpg
(
p_sys
->
p_input
);
/* Update now playing */
free
(
p_pgrm
->
psz_now_playing
);
...
...
src/input/event.c
View file @
368b4f25
...
...
@@ -233,6 +233,10 @@ void input_SendEventMetaName( input_thread_t *p_input, const char *psz_name )
vlc_event_send
(
&
p_input
->
p
->
p_item
->
event_manager
,
&
event
);
}
void
input_SendEventMetaEpg
(
input_thread_t
*
p_input
)
{
Trigger
(
p_input
,
INPUT_EVENT_ITEM_EPG
);
}
/*****************************************************************************
* Event for es_out.c
*****************************************************************************/
...
...
src/input/event.h
View file @
368b4f25
...
...
@@ -52,6 +52,7 @@ void input_SendEventCache( input_thread_t *p_input, double f_level );
void
input_SendEventMeta
(
input_thread_t
*
p_input
);
void
input_SendEventMetaInfo
(
input_thread_t
*
p_input
);
void
input_SendEventMetaName
(
input_thread_t
*
p_input
,
const
char
*
psz_name
);
void
input_SendEventMetaEpg
(
input_thread_t
*
p_input
);
/*****************************************************************************
* Event for es_out.c
...
...
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