frame->data.encoded_plane.size = stream->data.encoded.length_data;
frame->data.encoded_plane.is_delta_frame = (bool)stream->data.encoded.is_delta_frame;
total_size = stream->data.encoded.length_data;
+ } else if (stream->format == MM_PIXEL_FORMAT_ENCODED_MJPEG) {
+ frame->data.encoded_plane.data = buf_pos;
+ frame->data.encoded_plane.size = stream->data.encoded.length_data;
+ total_size = stream->data.encoded.length_data;
} else if (stream->format == MM_PIXEL_FORMAT_INVZ) {
frame->data.depth_plane.data = buf_pos;
frame->data.depth_plane.size = stream->data.depth.length_data;