Handle spatial scalability.

Maintain spatial layer information, and drop lower layers when
possible.  Yields a 20% saving with VP9.
This commit is contained in:
Juliusz Chroboczek committed 2021-05-17 18:17:43 +02:00
1 parent 781bdf8c74
commit 22585e9d10
9 files changed
+173 -95

No files matched your search

+2 -2
View File
@@ -616,6 +616,6 @@ func (conn *diskConn) initWriter(width, height uint32) error {
return nil
}
func (t *diskTrack) GetMaxBitrate() (uint64, int) {
return ^uint64(0), -1
func (t *diskTrack) GetMaxBitrate() (uint64, int, int) {
return ^uint64(0), -1, -1
}