Initial implementation of BMediaEncoder
* People interested, please review! * This is based on the patch from Fredrik Moden which was based on the Oleg Krysenkov one. * The original patch has been reworked by myself. * Adapted the code to work with the new PluginManager API which differently than before doesn't need to contact the media_server.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2009, Haiku Inc. All rights reserved.
|
||||
* Copyright 2009-2015, Haiku Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef _ENCODER_PLUGIN_H
|
||||
@@ -122,6 +122,9 @@ public:
|
||||
virtual Encoder* NewEncoder(
|
||||
const media_codec_info& codecInfo) = 0;
|
||||
|
||||
virtual Encoder* NewEncoder(
|
||||
const media_format& format) = 0;
|
||||
|
||||
virtual status_t RegisterNextEncoder(int32* cookie,
|
||||
media_codec_info* codecInfo,
|
||||
media_format_family* formatFamily,
|
||||
|
||||
Reference in New Issue
Block a user