@@ -716,6 +716,14 @@ string Clip::PropertiesJSON(int64_t requested_frame) {
716716 root[" has_audio" ] = add_property_json (" Enable Audio" , has_audio.GetValue (requested_frame), " int" , " " , &has_audio, -1 , 1.0 , false , requested_frame);
717717 root[" has_video" ] = add_property_json (" Enable Video" , has_video.GetValue (requested_frame), " int" , " " , &has_video, -1 , 1.0 , false , requested_frame);
718718
719+ // Add enable audio/video choices (dropdown style)
720+ root[" has_audio" ][" choices" ].append (add_property_choice_json (" Auto" , -1 , has_audio.GetValue (requested_frame)));
721+ root[" has_audio" ][" choices" ].append (add_property_choice_json (" Off" , 0 , has_audio.GetValue (requested_frame)));
722+ root[" has_audio" ][" choices" ].append (add_property_choice_json (" On" , 1 , has_audio.GetValue (requested_frame)));
723+ root[" has_video" ][" choices" ].append (add_property_choice_json (" Auto" , -1 , has_video.GetValue (requested_frame)));
724+ root[" has_video" ][" choices" ].append (add_property_choice_json (" Off" , 0 , has_video.GetValue (requested_frame)));
725+ root[" has_video" ][" choices" ].append (add_property_choice_json (" On" , 1 , has_video.GetValue (requested_frame)));
726+
719727 root[" crop_x" ] = add_property_json (" Crop X" , crop_x.GetValue (requested_frame), " float" , " " , &crop_x, -1.0 , 1.0 , false , requested_frame);
720728 root[" crop_y" ] = add_property_json (" Crop Y" , crop_y.GetValue (requested_frame), " float" , " " , &crop_y, -1.0 , 1.0 , false , requested_frame);
721729 root[" crop_width" ] = add_property_json (" Crop Width" , crop_width.GetValue (requested_frame), " float" , " " , &crop_width, 0.0 , 1.0 , false , requested_frame);
0 commit comments