Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stuart Levy
partiview
Commits
fff1f4e0
Commit
fff1f4e0
authored
Nov 30, 2013
by
slevy
Browse files
Add "pixelaspect" command.
parent
5cdbac01
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/partiview.cc
View file @
fff1f4e0
...
...
@@ -965,6 +965,14 @@ int pp_parse_args( struct stuff **, int argc, char *argv[], char *fromfname, voi
msg
(
"stereo %s"
,
parti_stereo
(
NULL
));
}
else
if
(
!
strcmp
(
argv
[
0
],
"pixelaspect"
))
{
if
(
argc
>
1
)
{
float
pixasp
=
atof
(
argv
[
1
]);
if
(
pixasp
!=
0
)
parti_setpixelaspect
(
pixasp
);
}
msg
(
"pixelaspect %g"
,
parti_getpixelaspect
());
}
else
if
(
!
strcmp
(
argv
[
0
],
"winsize"
))
{
msg
(
"winsize %s"
,
parti_winsize
(
rejoinargs
(
1
,
argc
,
argv
)
)
);
...
...
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