ui/handler: Add function for packet processing

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-09-29 06:55:42 +02:00
parent 38e7639862
commit 62eae3827b
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -46,3 +46,5 @@ std::string obsffmpeg::ui::handler::export_for_ffmpeg(obs_data_t* settings, cons
{
return std::string();
}
void obsffmpeg::ui::handler::process_avpacket(AVPacket& packet, const AVCodec* codec, AVCodecContext* context) {}
+2
View File
@@ -60,6 +60,8 @@ namespace obsffmpeg {
virtual std::string export_for_ffmpeg(obs_data_t* settings, const AVCodec* codec,
AVCodecContext* context);
virtual void process_avpacket(AVPacket& packet, const AVCodec* codec, AVCodecContext* context);
};
} // namespace ui
} // namespace obsffmpeg