diff --git a/src/add-ons/media/plugins/ffmpeg/AVFormatWriter.cpp b/src/add-ons/media/plugins/ffmpeg/AVFormatWriter.cpp index 59153ce65a..3a6f57c3c8 100644 --- a/src/add-ons/media/plugins/ffmpeg/AVFormatWriter.cpp +++ b/src/add-ons/media/plugins/ffmpeg/AVFormatWriter.cpp @@ -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; } diff --git a/src/add-ons/media/plugins/ffmpeg/AVFormatWriter.h b/src/add-ons/media/plugins/ffmpeg/AVFormatWriter.h index 06ef048661..2a70076abf 100644 --- a/src/add-ons/media/plugins/ffmpeg/AVFormatWriter.h +++ b/src/add-ons/media/plugins/ffmpeg/AVFormatWriter.h @@ -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,