Get all properties for a specific frame
| 144 | |
| 145 | // Get all properties for a specific frame |
| 146 | std::string Deinterlace::PropertiesJSON(int64_t requested_frame) const { |
| 147 | |
| 148 | // Generate JSON properties list |
| 149 | Json::Value root = BasePropertiesJSON(requested_frame); |
| 150 | |
| 151 | // Add Is Odd Frame choices (dropdown style) |
| 152 | root["isOdd"] = add_property_json("Is Odd Frame", isOdd, "bool", "", NULL, 0, 1, false, requested_frame); |
| 153 | root["isOdd"]["choices"].append(add_property_choice_json("Yes", true, isOdd)); |
| 154 | root["isOdd"]["choices"].append(add_property_choice_json("No", false, isOdd)); |
| 155 | |
| 156 | // Return formatted string |
| 157 | return root.toStyledString(); |
| 158 | } |
nothing calls this directly
no outgoing calls
no test coverage detected