encoder: Deprecate encoders based on old implementation

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-07-21 11:50:33 +02:00
parent 666fe5fdfb
commit 38f154531c
+3 -3
View File
@@ -39,8 +39,8 @@ namespace obsffmpeg {
protected: protected:
obs_encoder_t* self = nullptr; obs_encoder_t* self = nullptr;
AVCodec* avcodec = nullptr; AVCodec* avcodec = nullptr;
AVCodecContext* avcontext = nullptr; AVCodecContext* avcontext = nullptr;
AVDictionary* avdictionary = nullptr; AVDictionary* avdictionary = nullptr;
ffmpeg::swscale swscale; ffmpeg::swscale swscale;
@@ -124,7 +124,7 @@ namespace obsffmpeg {
{ \ { \
_source##_info.id = "obs-ffmpeg-encoder-" #_source; \ _source##_info.id = "obs-ffmpeg-encoder-" #_source; \
_source##_info.type = OBS_ENCODER_VIDEO; \ _source##_info.type = OBS_ENCODER_VIDEO; \
_source##_info.caps = 0; \ _source##_info.caps = OBS_ENCODER_CAP_DEPRECATED; \
_source##_info.codec = _codec; \ _source##_info.codec = _codec; \
_source##_info.create = _source##_create; \ _source##_info.create = _source##_create; \
_source##_info.destroy = _source##_destroy; \ _source##_info.destroy = _source##_destroy; \