Skip to content
Snippets Groups Projects
Commit f9e701c5 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Allow frameset selection in mkv convertor

parent fdffa53a
No related branches found
No related tags found
No related merge requests found
Pipeline #29740 passed
......@@ -54,7 +54,7 @@ webserver-deploy:
### Windows
.build-windows: &build-windows
- 'call vcvars64.bat'
- call vcvars64.bat
- mkdir build
- cd build
- cmake %CMAKE_ARGS% %CMAKE_ARGS_WINDOWS% -DREALSENSE_DIR="C:/Program Files (x86)/Intel RealSense SDK 2.0" -DOPENVR_DIR="C:/Program Files (x86)/OpenVRSDK" -DOPUS_DIR="C:/Program Files (x86)/Opus" ..
......
......@@ -178,6 +178,7 @@ int main(int argc, char **argv) {
// TODO: In future, find a better way to discover number of streams...
// Read entire file to find all streams before reading again to write data
bool res = r.read(90000000000000, [&current_stream,&current_channel,&r,&video_st,oc,&mapping,&stream_count](const ftl::codecs::StreamPacket &spkt, const ftl::codecs::Packet &pkt) {
if (current_stream != 255 && spkt.streamID != current_stream) return;
if (spkt.channel != Channel::Colour && spkt.channel != Channel::Right) return;
//if (spkt.channel != static_cast<ftl::codecs::Channel>(current_channel) && current_channel != -1) return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment