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
554f010c
Commit
554f010c
authored
Sep 06, 2013
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: mkv: wrong struct member.
copy/paste...
parent
12d92b96
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/mkv/mkv.cpp
modules/demux/mkv/mkv.cpp
+2
-2
No files found.
modules/demux/mkv/mkv.cpp
View file @
554f010c
...
...
@@ -372,7 +372,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
p_sys
->
p_current_segment
->
p_current_chapter
=
p_sys
->
p_current_segment
->
editions
[
p_sys
->
p_current_segment
->
i_current_edition
]
->
getChapterbyTimecode
(
0
);
Seek
(
p_demux
,
(
int64_t
)
p_sys
->
titles
[
i_idx
]
->
seekpoint
[
0
]
->
i_time_offset
,
-
1
,
NULL
);
p_demux
->
info
.
i_
seekpoint
|=
INPUT_UPDATE_SEEKPOINT
;
p_demux
->
info
.
i_
update
|=
INPUT_UPDATE_SEEKPOINT
;
p_demux
->
info
.
i_seekpoint
=
0
;
p_sys
->
f_duration
=
(
float
)
p_sys
->
titles
[
i_idx
]
->
i_length
/
1000.
f
;
return
VLC_SUCCESS
;
...
...
@@ -386,7 +386,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
if
(
p_sys
->
titles
.
size
()
&&
i_skp
<
p_sys
->
titles
[
p_sys
->
i_current_title
]
->
i_seekpoint
)
{
Seek
(
p_demux
,
(
int64_t
)
p_sys
->
titles
[
p_sys
->
i_current_title
]
->
seekpoint
[
i_skp
]
->
i_time_offset
,
-
1
,
NULL
);
p_demux
->
info
.
i_
seekpoint
|=
INPUT_UPDATE_SEEKPOINT
;
p_demux
->
info
.
i_
update
|=
INPUT_UPDATE_SEEKPOINT
;
p_demux
->
info
.
i_seekpoint
=
i_skp
;
return
VLC_SUCCESS
;
}
...
...
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