optional streaming from thread for Theora

This commit is contained in:
Juan Linietsky 2015-12-05 23:16:41 -03:00
parent 3ecc9e07b7
commit fe2a9bc746
3 changed files with 138 additions and 11 deletions

View file

@ -155,6 +155,12 @@ public:
inline int size() {
return data.size();
};
inline void clear() {
read_pos = 0;
write_pos = 0;
}
void resize(int p_power) {
int old_size = size();