commit | 37de0b8bdf163e2177f54a8694e952188218282c | [log] [tgz] |
---|---|---|
author | John Koleszar <jkoleszar@google.com> | Thu Jul 07 10:38:23 2011 -0400 |
committer | John Koleszar <jkoleszar@google.com> | Thu Jul 07 10:38:45 2011 -0400 |
tree | e7bcae2f80fa067a9d368a23e97e817a7193ef8a | |
parent | 05239f0c41780ee22ba7273f03edf6e7210ed58b [diff] [blame] |
Set VPX_FRAME_IS_DROPPABLE Allow the encoder to inform the application that the encoded frame will not be used as a reference. Change-Id: I90e41962325ef73d44da03327deb340d6f7f4860
diff --git a/vp8/vp8_cx_iface.c b/vp8/vp8_cx_iface.c index 5e1278a..966355d 100644 --- a/vp8/vp8_cx_iface.c +++ b/vp8/vp8_cx_iface.c
@@ -798,6 +798,9 @@ pkt.data.frame.duration = 0; } + if (cpi->droppable) + pkt.data.frame.flags |= VPX_FRAME_IS_DROPPABLE; + if (cpi->output_partition) { int i;