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
5564e7b4
Commit
5564e7b4
authored
Mar 14, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: mkv: fix unnamed segments names
parent
d6daa5e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/demux/mkv/demux.cpp
modules/demux/mkv/demux.cpp
+3
-2
No files found.
modules/demux/mkv/demux.cpp
View file @
5564e7b4
...
...
@@ -660,7 +660,7 @@ void demux_sys_t::PreloadFamily( const matroska_segment_c & of_segment )
// preload all the linked segments for all preloaded segments
bool
demux_sys_t
::
PreloadLinked
()
{
size_t
i
,
j
;
size_t
i
,
j
,
ij
=
0
;
virtual_segment_c
*
p_seg
;
p_current_segment
=
VirtualFromSegments
(
&
opened_segments
);
...
...
@@ -712,11 +712,12 @@ bool demux_sys_t::PreloadLinked()
}
if
(
!
p_title
->
psz_name
&&
asprintf
(
&
(
p_title
->
psz_name
),
"%s %d"
,
N_
(
"Segment"
),
(
int
)
i
)
==
-
1
)
asprintf
(
&
(
p_title
->
psz_name
),
"%s %d"
,
N_
(
"Segment"
),
(
int
)
i
j
)
==
-
1
)
p_title
->
psz_name
=
NULL
;
}
}
ij
++
;
i_chapters
=
0
;
p_ved
->
PublishChapters
(
*
p_title
,
i_chapters
,
0
);
...
...
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