Skip to content

Commit 22a29f5

Browse files
slkanthiarjunbinu
authored andcommitted
change naming of getTVPictureModeCapsV2 to getPictureModeCapsV2
1 parent 7d3c985 commit 22a29f5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

AVOutput/AVOutputTV.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ namespace Plugin {
410410
registerMethod("getTVDimmingModeCapsV2", &AVOutputTV::getTVDimmingModeCapsV2, this);
411411
registerMethod("getAspectRatioCapsV2", &AVOutputTV::getAspectRatioCapsV2, this);
412412
registerMethod("getDVCalibrationCapsV2", &AVOutputTV::getDVCalibrationCapsV2, this);
413-
registerMethod("getTVPictureModeCapsV2", &AVOutputTV::getTVPictureModeCapsV2, this);
413+
registerMethod("getPictureModeCapsV2", &AVOutputTV::getPictureModeCapsV2, this);
414414

415415
LOGINFO("Exit\n");
416416
}
@@ -859,8 +859,8 @@ namespace Plugin {
859859
returnResponse(true);
860860
}
861861

862-
uint32_t AVOutputTV::getTVPictureModeCapsV2(const JsonObject& parameters, JsonObject& response) {
863-
return getCapsV2([this](tvContextCaps_t** context_caps, int* options_count, std::vector<std::string>& options) {
862+
uint32_t AVOutputTV::getPictureModeCapsV2(const JsonObject& parameters, JsonObject& response) {
863+
return getCapsV2([this](tvContextCaps_t** context_caps, int* options_count) {
864864
return this->GetTVPictureModeCaps(context_caps);
865865
},
866866
"PictureMode", parameters, response);

AVOutput/AVOutputTV.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ class AVOutputTV : public AVOutputBase {
261261
DECLARE_JSON_RPC_METHOD(getTVDimmingModeCapsV2)
262262
DECLARE_JSON_RPC_METHOD(getAspectRatioCapsV2)
263263
DECLARE_JSON_RPC_METHOD(getDVCalibrationCapsV2)
264-
DECLARE_JSON_RPC_METHOD(getTVPictureModeCapsV2)
264+
DECLARE_JSON_RPC_METHOD(getPictureModeCapsV2)
265265

266266
/*Set API's*/
267267
DECLARE_JSON_RPC_METHOD(setBacklightV2)

0 commit comments

Comments
 (0)