mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Clean up odd special case of GetSourceProperty().
This commit is contained in:
@@ -58,7 +58,9 @@ public class VideoSink {
|
||||
/// @return Property (type Property::kNone if no property with
|
||||
/// the given name exists or no source connected)
|
||||
public VideoProperty getSourceProperty(String name) {
|
||||
return new VideoProperty(CameraServerJNI.getSourceProperty(m_handle, name)); }
|
||||
return new VideoProperty(
|
||||
CameraServerJNI.getSinkSourceProperty(m_handle, name));
|
||||
}
|
||||
|
||||
/// Enumerate all existing sinks.
|
||||
/// @return Vector of sinks.
|
||||
|
||||
Reference in New Issue
Block a user