Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
8e451b51
Commit
8e451b51
authored
May 24, 2011
by
Hugo Beauzée-Luyssen
Committed by
Jean-Baptiste Kempf
Jun 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkv: Avoid duplicating the entire vector.
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
a108f3ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/demux/mkv/virtual_segment.cpp
modules/demux/mkv/virtual_segment.cpp
+1
-1
modules/demux/mkv/virtual_segment.hpp
modules/demux/mkv/virtual_segment.hpp
+1
-1
No files found.
modules/demux/mkv/virtual_segment.cpp
View file @
8e451b51
...
...
@@ -263,7 +263,7 @@ chapter_item_c *virtual_segment_c::FindChapter( int64_t i_find_uid )
return
NULL
;
}
void
virtual_segment_c
::
AddSegments
(
std
::
vector
<
matroska_segment_c
*>
segments
)
void
virtual_segment_c
::
AddSegments
(
const
std
::
vector
<
matroska_segment_c
*>
&
segments
)
{
// fill our current virtual segment with all hard linked segments
size_t
i_preloaded
;
...
...
modules/demux/mkv/virtual_segment.hpp
View file @
8e451b51
...
...
@@ -49,7 +49,7 @@ public:
AppendUID
(
p_segment
->
p_next_segment_uid
);
}
void
AddSegments
(
std
::
vector
<
matroska_segment_c
*>
segments
);
void
AddSegments
(
const
std
::
vector
<
matroska_segment_c
*>
&
segments
);
void
Seek
(
demux_t
&
demuxer
,
mtime_t
i_date
,
mtime_t
i_time_offset
,
chapter_item_c
*
p_chapter
,
int64_t
i_global_position
);
...
...
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