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
578f2782
Commit
578f2782
authored
May 13, 2005
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkv.cpp: fix the interpretation of JumVTS_PTT (and now all 3 buttons work)
parent
97d79cb0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
23 deletions
+31
-23
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+31
-23
No files found.
modules/demux/mkv.cpp
View file @
578f2782
...
...
@@ -5481,7 +5481,7 @@ bool dvd_command_interpretor_c::Interpret( const binary * p_command, size_t i_si
}
case
CMD_DVD_JUMPVTS_PTT
:
{
uint
16
i_title
=
(
p_command
[
4
]
<<
8
)
+
p_command
[
5
];
uint
8
i_title
=
p_command
[
5
];
uint8
i_ptt
=
p_command
[
3
];
msg_Dbg
(
&
sys
.
demuxer
,
"JumpVTS Title (%d) PTT (%d)"
,
i_title
,
i_ptt
);
...
...
@@ -5497,7 +5497,12 @@ bool dvd_command_interpretor_c::Interpret( const binary * p_command, size_t i_si
if
(
p_chapter
!=
NULL
)
{
p_chapter
=
p_segment
->
BrowseCodecPrivate
(
1
,
MatchChapterNumber
,
&
i_ptt
,
sizeof
(
i_ptt
)
);
// find the title in the VTS
p_chapter
=
p_chapter
->
BrowseCodecPrivate
(
1
,
MatchTitleNumber
,
&
i_title
,
sizeof
(
i_title
)
);
if
(
p_chapter
!=
NULL
)
{
// find the chapter in the title
p_chapter
=
p_chapter
->
BrowseCodecPrivate
(
1
,
MatchChapterNumber
,
&
i_ptt
,
sizeof
(
i_ptt
)
);
if
(
p_chapter
!=
NULL
)
{
// if the segment is not part of the current segment, select the new one
...
...
@@ -5513,6 +5518,9 @@ bool dvd_command_interpretor_c::Interpret( const binary * p_command, size_t i_si
f_result
=
true
;
}
}
else
msg_Dbg
(
&
sys
.
demuxer
,
"Title (%d) does not exist in this VTS"
,
i_title
);
}
else
msg_Dbg
(
&
sys
.
demuxer
,
"DVD Domain VTS (%d) not found"
,
i_curr_title
);
}
...
...
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