Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
512a3c67
Commit
512a3c67
authored
Jun 08, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access/dvdnav.c: backport of 11362.
parent
9c55abfc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
modules/access/dvdnav.c
modules/access/dvdnav.c
+5
-0
No files found.
modules/access/dvdnav.c
View file @
512a3c67
...
@@ -132,6 +132,7 @@ struct demux_sys_t
...
@@ -132,6 +132,7 @@ struct demux_sys_t
/* palette for menus */
/* palette for menus */
uint32_t
clut
[
16
];
uint32_t
clut
[
16
];
uint8_t
palette
[
4
][
4
];
uint8_t
palette
[
4
][
4
];
vlc_bool_t
b_spu_change
;
/* */
/* */
int
i_aspect
;
int
i_aspect
;
...
@@ -215,6 +216,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -215,6 +216,7 @@ static int Open( vlc_object_t *p_this )
p_sys
->
i_aspect
=
-
1
;
p_sys
->
i_aspect
=
-
1
;
p_sys
->
i_mux_rate
=
0
;
p_sys
->
i_mux_rate
=
0
;
p_sys
->
i_pgc_length
=
0
;
p_sys
->
i_pgc_length
=
0
;
p_sys
->
b_spu_change
=
0
;
if
(
1
)
if
(
1
)
{
{
...
@@ -632,6 +634,7 @@ static int Demux( demux_t *p_demux )
...
@@ -632,6 +634,7 @@ static int Demux( demux_t *p_demux )
event
->
physical_pan_scan
);
event
->
physical_pan_scan
);
ESSubtitleUpdate
(
p_demux
);
ESSubtitleUpdate
(
p_demux
);
p_sys
->
b_spu_change
=
1
;
/* HACK to get the SPU tracks registered in the right order */
/* HACK to get the SPU tracks registered in the right order */
for
(
i
=
0
;
i
<
0x1f
;
i
++
)
for
(
i
=
0
;
i
<
0x1f
;
i
++
)
...
@@ -740,6 +743,8 @@ static int Demux( demux_t *p_demux )
...
@@ -740,6 +743,8 @@ static int Demux( demux_t *p_demux )
* - ...
* - ...
*/
*/
DemuxBlock
(
p_demux
,
packet
,
i_len
);
DemuxBlock
(
p_demux
,
packet
,
i_len
);
if
(
p_sys
->
b_spu_change
)
ButtonUpdate
(
p_demux
,
0
);
p_sys
->
b_spu_change
=
0
;
break
;
break
;
}
}
...
...
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