Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
68f4259c
Commit
68f4259c
authored
Aug 31, 2008
by
Baptiste Coudurier
Browse files
correctly set track duration
Originally committed as revision 15096 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
cdedd878
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
libavformat/mxfenc.c
libavformat/mxfenc.c
+2
-0
No files found.
libavformat/mxfenc.c
View file @
68f4259c
...
...
@@ -836,6 +836,8 @@ static int mux_write_packet(AVFormatContext *s, AVPacket *pkt)
klv_encode_ber_length
(
pb
,
pkt
->
size
);
// write length
put_buffer
(
pb
,
pkt
->
data
,
pkt
->
size
);
// write value
sc
->
duration
=
FFMAX
(
pkt
->
pts
+
pkt
->
duration
,
sc
->
duration
);
put_flush_packet
(
pb
);
return
0
;
}
...
...
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