Skip to content

Commit f70c2b2

Browse files
committed
rs-dds-sensor-proxy convert mjpeg to rgb8
1 parent ca44b28 commit f70c2b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/dds/rs-dds-sensor-proxy.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ void dds_sensor_proxy::register_converters()
145145
{
146146
std::vector< stream_profile > target_profiles;
147147
for( int index : jpeg_indexes )
148-
target_profiles.push_back( { RS2_FORMAT_MJPEG, RS2_STREAM_COLOR, index } );
149-
_formats_converter.register_converter( { { { RS2_FORMAT_MJPEG, RS2_STREAM_COLOR } }, target_profiles,
150-
[]() { return std::make_shared< identity_processing_block >(); } } );
148+
target_profiles.push_back( { RS2_FORMAT_RGB8, RS2_STREAM_COLOR, index } );
149+
_formats_converter.register_converter( { { RS2_FORMAT_MJPEG, RS2_STREAM_COLOR } }, target_profiles,
150+
[]() { return std::make_shared< mjpeg_converter >( RS2_FORMAT_RGB8 ); } );
151151
}
152152

153153
// Depth

0 commit comments

Comments
 (0)