Fix VP8 layer 2 sync dependencies.

BUG=
TEST=

Review URL: http://webrtc-codereview.appspot.com/333010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1259 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
stefan@webrtc.org 2011-12-21 08:56:04 +00:00
parent 00e730730e
commit 8c5d24266e
2 changed files with 4 additions and 2 deletions

View File

@ -161,7 +161,7 @@ int TemporalLayers::EncodeFlags() {
break;
case kTemporalUpdateGoldenWithoutDependency:
flags |= VP8_EFLAG_NO_REF_GF;
// Deliberetely no break here.
// Deliberately no break here.
case kTemporalUpdateGolden:
flags |= VP8_EFLAG_NO_REF_ARF;
flags |= VP8_EFLAG_NO_UPD_ARF;
@ -169,7 +169,8 @@ int TemporalLayers::EncodeFlags() {
break;
case kTemporalUpdateAltrefWithoutDependency:
flags |= VP8_EFLAG_NO_REF_ARF;
// Deliberetely no break here.
flags |= VP8_EFLAG_NO_REF_GF;
// Deliberately no break here.
case kTemporalUpdateAltref:
flags |= VP8_EFLAG_NO_UPD_GF;
flags |= VP8_EFLAG_NO_UPD_LAST;

View File

@ -31,6 +31,7 @@ enum {
VP8_EFLAG_NO_UPD_ARF |
VP8_EFLAG_NO_UPD_LAST,
kTemporalUpdateAltrefWithoutDependency = VP8_EFLAG_NO_REF_ARF |
VP8_EFLAG_NO_REF_GF |
VP8_EFLAG_NO_UPD_GF |
VP8_EFLAG_NO_UPD_LAST,
kTemporalUpdateAltref = VP8_EFLAG_NO_UPD_GF |