Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d1ad603d
Commit
d1ad603d
authored
Aug 12, 2013
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bluray: free resource as soon as not needed
parent
695029cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/access/bluray.c
modules/access/bluray.c
+1
-1
No files found.
modules/access/bluray.c
View file @
d1ad603d
...
...
@@ -1303,12 +1303,12 @@ static void blurayHandleEvent( demux_t *p_demux, const BD_EVENT *e )
break
;
/* The param we get is the real stream id, not an index, ie. it starts from 1 */
int
pid
=
info
->
clips
[
p_sys
->
i_current_clip
].
audio_streams
[
e
->
param
-
1
].
pid
;
bd_free_title_info
(
info
);
int
idx
=
findEsPairIndex
(
p_sys
,
pid
);
if
(
idx
>=
0
)
{
es_out_id_t
*
p_es
=
vlc_array_item_at_index
(
&
p_sys
->
es
,
idx
);
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_ES
,
p_es
);
}
bd_free_title_info
(
info
);
p_sys
->
i_audio_stream
=
pid
;
break
;
case
BD_EVENT_CHAPTER
:
...
...
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