Skip to content

Commit

Permalink
Merge pull request #5522 from arilowen/recording-crash
Browse files Browse the repository at this point in the history
fix recording crash
  • Loading branch information
ev-mp authored Dec 25, 2019
2 parents 95d1953 + c12b95a commit a3d89f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/sensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1513,6 +1513,11 @@ namespace librealsense
return _raw_sensor->register_before_streaming_changes_callback(callback);
}

void synthetic_sensor::unregister_before_start_callback(int token)
{
_raw_sensor->unregister_before_start_callback(token);
}

void synthetic_sensor::register_metadata(rs2_frame_metadata_value metadata, std::shared_ptr<md_attribute_parser_base> metadata_parser) const
{
sensor_base::register_metadata(metadata, metadata_parser);
Expand Down
1 change: 1 addition & 0 deletions src/sensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ namespace librealsense
void set_frames_callback(frame_callback_ptr callback) override;
void register_notifications_callback(notifications_callback_ptr callback) override;
int register_before_streaming_changes_callback(std::function<void(bool)> callback) override;
void unregister_before_start_callback(int token) override;
void register_metadata(rs2_frame_metadata_value metadata, std::shared_ptr<md_attribute_parser_base> metadata_parser) const override;
bool is_streaming() const override;
bool is_opened() const override;
Expand Down

0 comments on commit a3d89f9

Please sign in to comment.