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
2c41ee00
Commit
2c41ee00
authored
Mar 08, 2012
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bluray: Minor refactoring.
parent
aef79d83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/access/bluray.c
modules/access/bluray.c
+5
-5
No files found.
modules/access/bluray.c
View file @
2c41ee00
...
...
@@ -136,6 +136,8 @@ static void blurayOverlayProc(void *ptr, const BD_OVERLAY * const overlay);
static
int
onMouseEvent
(
vlc_object_t
*
p_vout
,
const
char
*
psz_var
,
vlc_value_t
old
,
vlc_value_t
val
,
void
*
p_data
);
static
void
blurayResetParser
(
demux_t
*
p_demux
);
#define FROM_TICKS(a) (a*CLOCK_FREQ / INT64_C(90000))
#define TO_TICKS(a) (a*INT64_C(90000)/CLOCK_FREQ)
#define CUR_LENGTH p_sys->pp_title[p_demux->info.i_title]->i_length
...
...
@@ -278,7 +280,7 @@ static int blurayOpen( vlc_object_t *object )
}
}
p_sys
->
p_parser
=
stream_DemuxNew
(
p_demux
,
"ts"
,
p_demux
->
out
);
blurayResetParser
(
p_demux
);
if
(
!
p_sys
->
p_parser
)
{
msg_Err
(
p_demux
,
"Failed to create TS demuxer"
);
goto
error
;
...
...
@@ -758,10 +760,8 @@ static void blurayResetParser( demux_t *p_demux )
* we are changing title.
*/
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
if
(
!
p_sys
->
p_parser
)
return
;
stream_Delete
(
p_sys
->
p_parser
);
if
(
p_sys
->
p_parser
)
stream_Delete
(
p_sys
->
p_parser
);
p_sys
->
p_parser
=
stream_DemuxNew
(
p_demux
,
"ts"
,
p_demux
->
out
);
if
(
!
p_sys
->
p_parser
)
{
msg_Err
(
p_demux
,
"Failed to create TS demuxer"
);
...
...
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