Add synthetic v210 feed source
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "MxlFeed.hpp"
|
||||
#include "MxlSdkFeed.hpp"
|
||||
#include "SmpteBarsFeed.hpp"
|
||||
#include "SyntheticV210Feed.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@@ -74,6 +75,18 @@ std::unique_ptr<IVideoFeed> createFeed(
|
||||
frameHeight
|
||||
);
|
||||
|
||||
case FeedKind::SyntheticV210:
|
||||
if (verbose)
|
||||
{
|
||||
std::cerr << "Feed " << (feedIndex + 1)
|
||||
<< ": synthetic v210" << std::endl;
|
||||
}
|
||||
return std::make_unique<SyntheticV210Feed>(
|
||||
feedIndex,
|
||||
frameWidth,
|
||||
frameHeight
|
||||
);
|
||||
|
||||
case FeedKind::NoSignal:
|
||||
default:
|
||||
if (verbose)
|
||||
|
||||
Reference in New Issue
Block a user