MediaExtractor: Move stream_info to private

This commit is contained in:
Barrett17 2018-11-18 12:53:14 +01:00
parent 121db87f5f
commit 3fe994ba28
2 changed files with 13 additions and 12 deletions

View File

@ -20,18 +20,7 @@ namespace media {
class ChunkCache;
struct chunk_buffer;
struct stream_info {
status_t status;
void* cookie;
bool hasCookie;
const void* infoBuffer;
size_t infoBufferSize;
ChunkCache* chunkCache;
chunk_buffer* lastChunk;
media_format encodedFormat;
};
struct stream_info;
class MediaExtractor {

View File

@ -27,6 +27,18 @@
static const size_t kMaxCacheBytes = 3 * 1024 * 1024;
struct BPrivate::media::stream_info {
status_t status;
void* cookie;
bool hasCookie;
const void* infoBuffer;
size_t infoBufferSize;
ChunkCache* chunkCache;
chunk_buffer* lastChunk;
media_format encodedFormat;
};
class MediaExtractorChunkProvider : public ChunkProvider {
public:
MediaExtractorChunkProvider(MediaExtractor* extractor, int32 stream)