projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
018fd12
)
Fix get_frame_type function
author
Adrian Grange
<agrange@google.com>
Tue, 22 Jul 2014 19:12:16 +0000
(12:12 -0700)
committer
Adrian Grange
<agrange@google.com>
Tue, 22 Jul 2014 19:12:16 +0000
(12:12 -0700)
Fixed the function get_frame_type to return the correct
frame type for golden and last frames.
Change-Id: I8edddd9aa26cbe7a1de8ff211389410b22b1bd14
vp9/encoder/vp9_encodeframe.c
patch
|
blob
|
history
diff --git
a/vp9/encoder/vp9_encodeframe.c
b/vp9/encoder/vp9_encodeframe.c
index
c43ef5b
..
86de690
100644
(file)
--- a/
vp9/encoder/vp9_encodeframe.c
+++ b/
vp9/encoder/vp9_encodeframe.c
@@
-2362,9
+2362,9
@@
static MV_REFERENCE_FRAME get_frame_type(const VP9_COMP *cpi) {
else if (cpi->rc.is_src_frame_alt_ref && cpi->refresh_golden_frame)
return ALTREF_FRAME;
else if (cpi->refresh_golden_frame || cpi->refresh_alt_ref_frame)
- return LAST_FRAME;
- else
return GOLDEN_FRAME;
+ else
+ return LAST_FRAME;
}
static TX_MODE select_tx_mode(const VP9_COMP *cpi) {