Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
b5ef9cbb
Commit
b5ef9cbb
authored
Apr 29, 2009
by
Laurent Aimar
Browse files
Write aspect ratio only when defined (asf).
parent
59d7d4f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/mux/asf.c
View file @
b5ef9cbb
...
...
@@ -902,7 +902,8 @@ static block_t *asf_header_create( sout_mux_t *p_mux, bool b_broadcast )
/* size of the metadata object */
for
(
i
=
0
;
i
<
p_sys
->
i_track
;
i
++
)
{
if
(
p_sys
->
track
[
i
].
i_cat
==
VIDEO_ES
)
const
asf_track_t
*
p_track
=
&
p_sys
->
track
[
i
];
if
(
p_track
->
i_cat
==
VIDEO_ES
&&
p_track
->
fmt
.
video
.
i_aspect
!=
0
)
{
i_cm_size
=
26
+
2
*
(
16
+
2
*
sizeof
(
"AspectRatio?"
));
break
;
...
...
Write
Preview
Supports
Markdown
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