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
1a79dc83
Commit
1a79dc83
authored
Apr 06, 2005
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkv.cpp: prepare for chapter codecs
parent
b9057a61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+27
-0
No files found.
modules/demux/mkv.cpp
View file @
1a79dc83
...
...
@@ -329,6 +329,18 @@ typedef struct
vlc_bool_t
b_key
;
}
mkv_index_t
;
class
chapter_codec_cmds_t
{
};
class
dvd_chapter_codec_t
:
public
chapter_codec_cmds_t
{
};
class
matroska_script_codec_t
:
public
chapter_codec_cmds_t
{
};
class
chapter_item_t
{
public:
...
...
@@ -341,6 +353,17 @@ public:
,
b_display_seekpoint
(
true
)
,
psz_parent
(
NULL
)
{}
~
chapter_item_t
()
{
size_t
i
;
for
(
i
=
0
;
i
<
enter_cmds
.
size
();
i
++
)
delete
enter_cmds
[
i
];
for
(
i
=
0
;
i
<
during_cmds
.
size
();
i
++
)
delete
during_cmds
[
i
];
for
(
i
=
0
;
i
<
leave_cmds
.
size
();
i
++
)
delete
leave_cmds
[
i
];
}
int64_t
RefreshChapters
(
bool
b_ordered
,
int64_t
i_prev_user_time
);
void
PublishChapters
(
input_title_t
&
title
,
int
i_level
);
...
...
@@ -363,6 +386,10 @@ public:
}
protected:
std
::
vector
<
chapter_codec_cmds_t
*>
enter_cmds
;
std
::
vector
<
chapter_codec_cmds_t
*>
during_cmds
;
std
::
vector
<
chapter_codec_cmds_t
*>
leave_cmds
;
bool
Enter
();
bool
Leave
();
};
...
...
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