Tutorial6 fix
Updating tutorial 6 to be a closer match to the original C tutorial
The gstreamer-rs version of the tutorial was not fully displaying the capabilities of the pad as expected:
Expected output:
Pad Template for Audio test source:
SRC template: 'src'
Availability: Always
Capabilities:
audio/x-raw
format:{ (string)S16LE, (string)S16BE, (string)U16LE, (string)U16BE, (string)S24_32LE, (string)S24_32BE, (string)U24_32LE, (string)U24_32BE, (string)S32LE, (string)S32BE, (string)U32LE, (string)U32BE, (string)S24LE, (string)S24BE, (string)U24LE, (string)U24BE, (string)S20LE, (string)S20BE, (string)U20LE, (string)U20BE, (string)S18LE, (string)S18BE, (string)U18LE, (string)U18BE, (string)F32LE, (string)F32BE, (string)F64LE, (string)F64BE, (string)S8, (string)U8 }
layout:{ (string)interleaved, (string)non-interleaved }
rate:[ 1, 2147483647 ]
channels:[ 1, 2147483647 ]
Previous output:
Pad Template for Audio test source:
SRC template: 'src'
Availability: Always
Capabilities:
audio/x-raw
format:SendValue(Value(GString(Foreign(0x557140bb5aa0, 338))))
layout:SendValue(Value(GString(Foreign(0x557140c99d00, 40))))
rate:SendValue(Value(GString(Foreign(0x557140c9a430, 14))))
channels:SendValue(Value(GString(Foreign(0x557140c9a430, 14))))
I modified this as needed.