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
2951cfd9
Commit
2951cfd9
authored
Mar 03, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed EPG current state.
parent
00cca4f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/input/es_out.c
src/input/es_out.c
+4
-3
No files found.
src/input/es_out.c
View file @
2951cfd9
...
@@ -1240,7 +1240,8 @@ static void vlc_epg_Merge( vlc_epg_t *p_dst, const vlc_epg_t *p_src )
...
@@ -1240,7 +1240,8 @@ static void vlc_epg_Merge( vlc_epg_t *p_dst, const vlc_epg_t *p_src )
}
}
}
}
/* Update current */
/* Update current */
vlc_epg_SetCurrent
(
p_dst
,
p_src
->
p_current
?
p_src
->
p_current
->
i_start
:
-
1
);
if
(
p_src
->
p_current
)
vlc_epg_SetCurrent
(
p_dst
,
p_src
->
p_current
->
i_start
);
/* Keep only 1 old event */
/* Keep only 1 old event */
if
(
p_dst
->
p_current
)
if
(
p_dst
->
p_current
)
...
@@ -1310,8 +1311,8 @@ static void EsOutProgramEpg( es_out_t *out, int i_group, vlc_epg_t *p_epg )
...
@@ -1310,8 +1311,8 @@ static void EsOutProgramEpg( es_out_t *out, int i_group, vlc_epg_t *p_epg )
/* Update now playing */
/* Update now playing */
free
(
p_pgrm
->
psz_now_playing
);
free
(
p_pgrm
->
psz_now_playing
);
p_pgrm
->
psz_now_playing
=
NULL
;
p_pgrm
->
psz_now_playing
=
NULL
;
if
(
p_
epg
->
p_current
&&
p_epg
->
p_current
->
psz_name
&&
*
p_epg
->
p_current
->
psz_name
)
if
(
p_
pgrm
->
p_epg
->
p_current
&&
p_pgrm
->
p_epg
->
p_current
->
psz_name
&&
*
p_pgrm
->
p_epg
->
p_current
->
psz_name
)
p_pgrm
->
psz_now_playing
=
strdup
(
p_epg
->
p_current
->
psz_name
);
p_pgrm
->
psz_now_playing
=
strdup
(
p_
pgrm
->
p_
epg
->
p_current
->
psz_name
);
if
(
p_pgrm
==
p_sys
->
p_pgrm
)
if
(
p_pgrm
==
p_sys
->
p_pgrm
)
{
{
...
...
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