MediaExtractor: Move stream_info to private
This commit is contained in:
parent
121db87f5f
commit
3fe994ba28
@ -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 {
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user