mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-21 17:41:54 -08:00
Add probing function for supported codecs
This commit is contained in:
1 parent
7a42691269
commit
fa5955f859
4 files changed
+31
No files matched your search
@@ -235,4 +235,13 @@ void decoder::frame_completed(const xrt::drivers::wivrn::from_headset::feedback
|
||||
scene->push_blit_handle(accumulator, std::move(handle));
|
||||
}
|
||||
|
||||
std::vector<xrt::drivers::wivrn::video_codec> decoder::supported_codecs()
|
||||
{
|
||||
return {
|
||||
xrt::drivers::wivrn::video_codec::h264,
|
||||
xrt::drivers::wivrn::video_codec::h265,
|
||||
xrt::drivers::wivrn::video_codec::av1,
|
||||
};
|
||||
}
|
||||
|
||||
} // namespace ffmpeg
|
||||
Reference in new issue
Block a user