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
be9458e0
Commit
be9458e0
authored
Sep 14, 2009
by
Marian Ďurkovič
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display EPG description if available
parent
65211483
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
modules/demux/ts.c
modules/demux/ts.c
+2
-1
src/input/item.c
src/input/item.c
+3
-2
No files found.
modules/demux/ts.c
View file @
be9458e0
...
@@ -2997,7 +2997,8 @@ static void EITCallBack( demux_t *p_demux,
...
@@ -2997,7 +2997,8 @@ static void EITCallBack( demux_t *p_demux,
/* */
/* */
if
(
i_start
>
0
)
if
(
i_start
>
0
)
vlc_epg_AddEvent
(
p_epg
,
i_start
,
i_duration
,
psz_name
,
psz_text
,
psz_extra
);
vlc_epg_AddEvent
(
p_epg
,
i_start
,
i_duration
,
psz_name
,
psz_text
,
*
psz_extra
?
psz_extra
:
NULL
);
/* Update "now playing" field */
/* Update "now playing" field */
if
(
p_evt
->
i_running_status
==
0x04
&&
i_start
>
0
)
if
(
p_evt
->
i_running_status
==
0x04
&&
i_start
>
0
)
...
...
src/input/item.c
View file @
be9458e0
...
@@ -729,10 +729,11 @@ void input_item_SetEpg( input_item_t *p_item,
...
@@ -729,10 +729,11 @@ void input_item_SetEpg( input_item_t *p_item,
1900
+
tm_start
.
tm_year
,
1
+
tm_start
.
tm_mon
,
tm_start
.
tm_mday
,
1900
+
tm_start
.
tm_year
,
1
+
tm_start
.
tm_mon
,
tm_start
.
tm_mday
,
tm_start
.
tm_hour
,
tm_start
.
tm_min
,
tm_start
.
tm_sec
);
tm_start
.
tm_hour
,
tm_start
.
tm_min
,
tm_start
.
tm_sec
);
if
(
p_evt
->
psz_short_description
||
p_evt
->
psz_description
)
if
(
p_evt
->
psz_short_description
||
p_evt
->
psz_description
)
InputItemAddInfo
(
p_item
,
psz_epg
,
psz_start
,
"%s (%2.2d:%2.2d) - %s"
,
InputItemAddInfo
(
p_item
,
psz_epg
,
psz_start
,
"%s (%2.2d:%2.2d) - %s
%s
"
,
p_evt
->
psz_name
,
p_evt
->
psz_name
,
p_evt
->
i_duration
/
60
/
60
,
(
p_evt
->
i_duration
/
60
)
%
60
,
p_evt
->
i_duration
/
60
/
60
,
(
p_evt
->
i_duration
/
60
)
%
60
,
p_evt
->
psz_short_description
?
p_evt
->
psz_short_description
:
p_evt
->
psz_description
);
p_evt
->
psz_short_description
?
p_evt
->
psz_short_description
:
""
,
p_evt
->
psz_description
?
p_evt
->
psz_description
:
""
);
else
else
InputItemAddInfo
(
p_item
,
psz_epg
,
psz_start
,
"%s (%2.2d:%2.2d)"
,
InputItemAddInfo
(
p_item
,
psz_epg
,
psz_start
,
"%s (%2.2d:%2.2d)"
,
p_evt
->
psz_name
,
p_evt
->
psz_name
,
...
...
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