-
Notifications
You must be signed in to change notification settings - Fork 639
Improve error messages in video loader with file name in the message #5910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3e60fd5
to
d5c5c6a
Compare
!build |
CI MESSAGE: [27993386]: BUILD STARTED |
CI MESSAGE: [27993386]: BUILD PASSED |
} | ||
auto stream = file.fmt_ctx_->streams[file.vid_stream_idx_]; | ||
req.frame_base = file.frame_base_; | ||
|
||
if (vid_decoder_) { | ||
vid_decoder_->push_req(req); | ||
} else { | ||
DALI_FAIL("No video decoder even after opening a file"); | ||
DALI_FAIL(make_string("No video decoder even after opening a file for file: ", req.filename)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DALI_FAIL(make_string("No video decoder even after opening a file for file: ", req.filename)); | |
DALI_FAIL(make_string("No video decoder even after opening a file: ", req.filename)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
- adds filename information to error messages in video_loader.cc to make debugging easier by by extending DALI_FAIL and DALI_ENFORCE error messages in the video loader Signed-off-by: Janusz Lisiecki <[email protected]>
Signed-off-by: Janusz Lisiecki <[email protected]>
d5c5c6a
to
d6958f6
Compare
!build |
CI MESSAGE: [28014855]: BUILD STARTED |
CI MESSAGE: [28014855]: BUILD FAILED |
CI MESSAGE: [28014855]: BUILD PASSED |
easier by by extending DALI_FAIL and DALI_ENFORCE error messages in the video loader
Category:
Other (e.g. Documentation, Tests, Configuration)
Description:
easier by by extending DALI_FAIL and DALI_ENFORCE error messages in the video loader
Additional information:
Affected modules and functionalities:
Key points relevant for the review:
Tests:
Checklist
Documentation
DALI team only
Requirements
REQ IDs: N/A
JIRA TASK: N/A