ffmpeg: Move AVCodecWriter to BMetaData

This commit is contained in:
Barrett17 2018-11-21 17:23:58 +01:00
parent 608c9d9ae1
commit 854c698a52
2 changed files with 6 additions and 6 deletions

View File

@ -425,7 +425,7 @@ AVFormatWriter::Init(const media_file_format* fileFormat)
status_t
AVFormatWriter::SetCopyright(const char* copyright)
AVFormatWriter::SetMetaData(BMetaData* data)
{
TRACE("AVFormatWriter::SetCopyright(%s)\n", copyright);
@ -541,9 +541,9 @@ AVFormatWriter::FreeCookie(void* _cookie)
status_t
AVFormatWriter::SetCopyright(void* cookie, const char* copyright)
AVFormatWriter::SetMetaData(void* cookie, BMetaData* data)
{
TRACE("AVFormatWriter::SetCopyright(%p, %s)\n", cookie, copyright);
TRACE("AVFormatWriter::SetMetaData(%p)\n", cookie);
return B_NOT_SUPPORTED;
}

View File

@ -22,7 +22,7 @@ public:
virtual status_t Init(const media_file_format* fileFormat);
virtual status_t SetCopyright(const char* copyright);
virtual status_t SetMetaData(BMetaData* data);
virtual status_t CommitHeader();
virtual status_t Flush();
virtual status_t Close();
@ -32,8 +32,8 @@ public:
const media_codec_info* codecInfo);
virtual status_t FreeCookie(void* cookie);
virtual status_t SetCopyright(void* cookie,
const char* copyright);
virtual status_t SetMetaData(void* cookie,
BMetaData* data);
virtual status_t AddTrackInfo(void* cookie, uint32 code,
const void* data, size_t size,