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
0f234007
Commit
0f234007
authored
Dec 01, 2015
by
Petri Hintukainen
Committed by
Jean-Baptiste Kempf
Dec 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bluray: make title transitions faster
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
4560d10d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
modules/access/bluray.c
modules/access/bluray.c
+11
-0
No files found.
modules/access/bluray.c
View file @
0f234007
...
@@ -169,6 +169,7 @@ struct demux_sys_t
...
@@ -169,6 +169,7 @@ struct demux_sys_t
int
i_video_stream
;
int
i_video_stream
;
stream_t
*
p_parser
;
stream_t
*
p_parser
;
bool
b_flushed
;
bool
b_flushed
;
bool
b_pl_playing
;
/* true when playing playlist */
/* Used to store bluray disc path */
/* Used to store bluray disc path */
char
*
psz_bd_path
;
char
*
psz_bd_path
;
...
@@ -1948,6 +1949,13 @@ static void blurayHandleEvent(demux_t *p_demux, const BD_EVENT *e)
...
@@ -1948,6 +1949,13 @@ static void blurayHandleEvent(demux_t *p_demux, const BD_EVENT *e)
case
BD_EVENT_PLAYLIST
:
case
BD_EVENT_PLAYLIST
:
/* Start of playlist playback (?????.mpls) */
/* Start of playlist playback (?????.mpls) */
blurayUpdatePlaylist
(
p_demux
,
e
->
param
);
blurayUpdatePlaylist
(
p_demux
,
e
->
param
);
if
(
p_sys
->
b_pl_playing
)
{
/* previous playlist was stopped in middle. flush to avoid delay */
msg_Info
(
p_demux
,
"Stopping playlist playback"
);
blurayResetParser
(
p_demux
);
es_out_Control
(
p_demux
->
out
,
ES_OUT_RESET_PCR
);
}
p_sys
->
b_pl_playing
=
true
;
break
;
break
;
case
BD_EVENT_PLAYITEM
:
case
BD_EVENT_PLAYITEM
:
blurayUpdateCurrentClip
(
p_demux
,
e
->
param
);
blurayUpdateCurrentClip
(
p_demux
,
e
->
param
);
...
@@ -2008,6 +2016,9 @@ static void blurayHandleEvent(demux_t *p_demux, const BD_EVENT *e)
...
@@ -2008,6 +2016,9 @@ static void blurayHandleEvent(demux_t *p_demux, const BD_EVENT *e)
/* reset demuxer (partially decoded PES packets must be dropped) */
/* reset demuxer (partially decoded PES packets must be dropped) */
blurayResetParser
(
p_demux
);
blurayResetParser
(
p_demux
);
break
;
break
;
case
BD_EVENT_END_OF_TITLE
:
p_sys
->
b_pl_playing
=
false
;
break
;
case
BD_EVENT_IDLE
:
case
BD_EVENT_IDLE
:
/* nothing to do (ex. BD-J is preparing menus, waiting user input or running animation) */
/* nothing to do (ex. BD-J is preparing menus, waiting user input or running animation) */
/* avoid busy loop (bd_read() returns no data) */
/* avoid busy loop (bd_read() returns no data) */
...
...
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