Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
cdbb7e2d
Commit
cdbb7e2d
authored
Sep 14, 2009
by
Marian Ďurkovič
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
INPUT: Properly remove SDT and EPG entries on exit
(cherry picked from commit
6fc6b16d
)
parent
c7284a43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
src/input/es_out.c
src/input/es_out.c
+13
-0
No files found.
src/input/es_out.c
View file @
cdbb7e2d
...
...
@@ -329,6 +329,7 @@ es_out_t *input_EsOutNew( input_thread_t *p_input, int i_rate )
static
void
EsOutDelete
(
es_out_t
*
out
)
{
es_out_sys_t
*
p_sys
=
out
->
p_sys
;
input_thread_t
*
p_input
=
p_sys
->
p_input
;
int
i
;
if
(
p_sys
->
p_sout_record
)
...
...
@@ -364,6 +365,18 @@ static void EsOutDelete( es_out_t *out )
{
es_out_pgrm_t
*
p_pgrm
=
p_sys
->
pgrm
[
i
];
input_clock_Delete
(
p_pgrm
->
p_clock
);
/* Remove SDT and EPG entries */
char
*
psz_cat
=
EsOutProgramGetMetaName
(
p_pgrm
);
input_Control
(
p_input
,
INPUT_DEL_INFO
,
psz_cat
,
NULL
);
char
*
psz_epg
;
if
(
asprintf
(
&
psz_epg
,
"EPG %s"
,
psz_cat
)
>=
0
)
{
input_Control
(
p_input
,
INPUT_DEL_INFO
,
psz_epg
,
NULL
);
free
(
psz_epg
);
}
free
(
psz_cat
);
free
(
p_pgrm
->
psz_now_playing
);
free
(
p_pgrm
->
psz_publisher
);
free
(
p_pgrm
->
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