Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
535e9f12
Commit
535e9f12
authored
Aug 27, 2008
by
Laurent Aimar
Committed by
Jean-Baptiste Kempf
Aug 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed AR setting for dvdsimple, support AR for dvdnav.
parent
a9de291c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
modules/access/dvdnav.c
modules/access/dvdnav.c
+4
-1
modules/access/dvdread.c
modules/access/dvdread.c
+8
-2
No files found.
modules/access/dvdnav.c
View file @
535e9f12
...
@@ -1143,7 +1143,10 @@ static void ESNew( demux_t *p_demux, int i_id )
...
@@ -1143,7 +1143,10 @@ static void ESNew( demux_t *p_demux, int i_id )
{
{
switch
(
p_sys
->
i_aspect
)
switch
(
p_sys
->
i_aspect
)
{
{
/* TODO Any docs somewhere ? */
case
1
:
tk
->
fmt
.
video
.
i_aspect
=
VOUT_ASPECT_FACTOR
;
break
;
case
2
:
tk
->
fmt
.
video
.
i_aspect
=
VOUT_ASPECT_FACTOR
*
4
/
3
;
break
;
case
3
:
tk
->
fmt
.
video
.
i_aspect
=
VOUT_ASPECT_FACTOR
*
16
/
9
;
break
;
case
4
:
tk
->
fmt
.
video
.
i_aspect
=
VOUT_ASPECT_FACTOR
*
221
/
10
;
break
;
default:
default:
tk
->
fmt
.
video
.
i_aspect
=
0
;
tk
->
fmt
.
video
.
i_aspect
=
0
;
break
;
break
;
...
...
modules/access/dvdread.c
View file @
535e9f12
...
@@ -710,9 +710,15 @@ static void ESNew( demux_t *p_demux, int i_id, int i_lang )
...
@@ -710,9 +710,15 @@ static void ESNew( demux_t *p_demux, int i_id, int i_lang )
/* Add a new ES */
/* Add a new ES */
if
(
tk
->
fmt
.
i_cat
==
VIDEO_ES
)
if
(
tk
->
fmt
.
i_cat
==
VIDEO_ES
)
{
{
if
(
p_sys
->
i_aspect
>=
0
)
switch
(
p_sys
->
i_aspect
)
{
{
tk
->
fmt
.
video
.
i_aspect
=
p_sys
->
i_aspect
;
case
1
:
tk
->
fmt
.
video
.
i_aspect
=
VOUT_ASPECT_FACTOR
;
break
;
case
2
:
tk
->
fmt
.
video
.
i_aspect
=
VOUT_ASPECT_FACTOR
*
4
/
3
;
break
;
case
3
:
tk
->
fmt
.
video
.
i_aspect
=
VOUT_ASPECT_FACTOR
*
16
/
9
;
break
;
case
4
:
tk
->
fmt
.
video
.
i_aspect
=
VOUT_ASPECT_FACTOR
*
221
/
10
;
break
;
default:
tk
->
fmt
.
video
.
i_aspect
=
0
;
break
;
}
}
}
}
else
if
(
tk
->
fmt
.
i_cat
==
AUDIO_ES
)
else
if
(
tk
->
fmt
.
i_cat
==
AUDIO_ES
)
...
...
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