Commit 761c4356 authored by Wieland Morgenstern's avatar Wieland Morgenstern

don't show NVENC codecs in Studio, no UI implemented

parent a6b4e54f
...@@ -108,6 +108,11 @@ void VideoProcess::updateSupportedCodecs() { ...@@ -108,6 +108,11 @@ void VideoProcess::updateSupportedCodecs() {
ui->comboCodec->clear(); ui->comboCodec->clear();
QStringList codecs = currentFormat->getSupportedCodecs(); QStringList codecs = currentFormat->getSupportedCodecs();
codecs.removeOne(VideoStitch::VideoCodec::getStringFromEnum(VideoStitch::VideoCodec::VideoCodecEnum::MPEG4)); codecs.removeOne(VideoStitch::VideoCodec::getStringFromEnum(VideoStitch::VideoCodec::VideoCodecEnum::MPEG4));
// TODO: not implemented in Studio (CodecFactory, formats/codecs)
codecs.removeOne(VideoStitch::VideoCodec::getStringFromEnum(VideoStitch::VideoCodec::VideoCodecEnum::NVENC_H264));
codecs.removeOne(VideoStitch::VideoCodec::getStringFromEnum(VideoStitch::VideoCodec::VideoCodecEnum::NVENC_HEVC));
for (const QString& data : codecs) { for (const QString& data : codecs) {
const VideoStitch::VideoCodec::VideoCodecEnum codec = VideoStitch::VideoCodec::getEnumFromString(data); const VideoStitch::VideoCodec::VideoCodecEnum codec = VideoStitch::VideoCodec::getEnumFromString(data);
ui->comboCodec->addItem(VideoStitch::VideoCodec::getDisplayNameFromEnum(codec), data); ui->comboCodec->addItem(VideoStitch::VideoCodec::getDisplayNameFromEnum(codec), data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment