Skip to content

Commit ac15294

Browse files
committed
[video_decoder] rename LE_SETTING_SHOULD_USE_QUERIES
LE_SETTING_SHOULD_USE_QUERIES -> LE_SETTING_SHOULD_USE_VIDEO_STATUS_QUERIES
1 parent d7ec70d commit ac15294

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/examples/video_player_example/video_player_example_app/video_player_example_app.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ struct video_player_example_app_o {
4949

5050
typedef video_player_example_app_o app_o;
5151

52-
LE_SETTING( const bool, LE_SETTING_SHOULD_USE_VALIDATION_LAYERS, true );
53-
LE_SETTING( const bool, LE_SETTING_SHOULD_USE_QUERIES, true );
52+
LE_SETTING( const bool, LE_SETTING_SHOULD_USE_VALIDATION_LAYERS, true ); // For backend: whether to use validation layers in Debug builds. Default 'true'. Recommended.
53+
LE_SETTING( const bool, LE_SETTING_SHOULD_USE_VIDEO_STATUS_QUERIES, true ); // For video decoder: whether to use video Queries
5454

5555
// Set USE_FIXED_TIME_INTERVAL to true to step a fixed time interval every update.
5656
constexpr static bool USE_FIXED_TIME_INTERVAL = false;

modules/le_video_decoder/le_video_decoder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ static_assert( align_to( 9, 4 ) == 12, "must be 12" );
7474
static_assert( align_to( 9, 3 ) == 9, "must be 9" );
7575

7676
static bool should_use_queries() {
77-
LE_SETTING( const bool, LE_SETTING_SHOULD_USE_QUERIES, true );
78-
return *LE_SETTING_SHOULD_USE_QUERIES;
77+
LE_SETTING( const bool, LE_SETTING_SHOULD_USE_VIDEO_STATUS_QUERIES, true );
78+
return *LE_SETTING_SHOULD_USE_VIDEO_STATUS_QUERIES;
7979
}
8080

8181
#define USE_YCBCR_SAMPLER

0 commit comments

Comments
 (0)