projects
/
profile
/
ivi
/
libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eabdd0
)
mpeg2enc: Fix time_code_seconds in time_code
author
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 6 Dec 2012 08:12:45 +0000
(16:12 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Fri, 7 Dec 2012 08:05:35 +0000
(16:05 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
test/encode/mpeg2enc.c
patch
|
blob
|
history
diff --git
a/test/encode/mpeg2enc.c
b/test/encode/mpeg2enc.c
index
aba7317
..
d1371f8
100644
(file)
--- a/
test/encode/mpeg2enc.c
+++ b/
test/encode/mpeg2enc.c
@@
-932,7
+932,7
@@
mpeg2enc_time_code(VAEncSequenceParameterBufferMPEG2 *seq_param,
time_code |= time_code_pictures;
time_code_minutes = time_code_seconds / 60;
- time_code_seconds = time_code_
minute
s % 60;
+ time_code_seconds = time_code_
second
s % 60;
time_code |= (time_code_seconds << 6);
time_code_hours = time_code_minutes / 60;