@Pat: No, metadata and everything about a stream is not filled in until you transition the GStreamer playbin pipeline to the playing state. So there's no advantage to reading it from the metadata fields vs the explicit duration field.
@Pat: No, metadata and everything about a stream is not filled in until you transition the GStreamer playbin pipeline to the playing state. So there's no advantage to reading it from the metadata fields vs the explicit duration field.