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:
56186c2
)
[spatial svc] Fix one extra frame count during flush
author
Minghai Shang
<minghai@google.com>
Fri, 2 May 2014 19:09:13 +0000
(12:09 -0700)
committer
Minghai Shang
<minghai@google.com>
Fri, 2 May 2014 19:09:13 +0000
(12:09 -0700)
Change-Id: Ia096aafa8aca4f9e58450c4b861393d8f0a15afe
vpx/src/svc_encodeframe.c
patch
|
blob
|
history
diff --git
a/vpx/src/svc_encodeframe.c
b/vpx/src/svc_encodeframe.c
index
76aacd2
..
38c2d26
100644
(file)
--- a/
vpx/src/svc_encodeframe.c
+++ b/
vpx/src/svc_encodeframe.c
@@
-1000,8
+1000,10
@@
vpx_codec_err_t vpx_svc_encode(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx,
(int)si->frame_size, (int)pts);
}
}
- ++si->frame_within_gop;
- ++si->encode_frame_count;
+ if (rawimg != NULL) {
+ ++si->frame_within_gop;
+ ++si->encode_frame_count;
+ }
return VPX_CODEC_OK;
}