gst1-java-core icon indicating copy to clipboard operation
gst1-java-core copied to clipboard

Uint get method

Open PertsevRoman opened this issue 6 years ago • 2 comments

There isn't get method for uint (although the corresponds method in GSTSTRUCTURE_API exists)

https://github.com/gstreamer-java/gst1-java-core/blob/d097354bfd442946e842f40da5b68dabed670382/src/org/freedesktop/gstreamer/lowlevel/GstStructureAPI.java#L65

When we try to use integer method it fails too

PertsevRoman avatar May 11 '19 21:05 PertsevRoman

Shall I use Integer.toUnsignedString internally? Or leave decision to developer?

PertsevRoman avatar May 11 '19 22:05 PertsevRoman

Why to String? Could keep as is (but carefully documented!) or consider Integer::toUnsignedLong ? https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html#toUnsignedLong-int-

neilcsmith-net avatar May 13 '19 07:05 neilcsmith-net