Skip to content

gstreamer/message: enhance Debug impl for Message[Ref]

François Laignel requested to merge fengalin/gstreamer-rs:message-debug into master

When "{:?}" printing a Message[Ref], the following issues lower the experience:

  • If the Message seqnum is GST_SEQNUM_INVALID (0), a panic occurs due to an assertion failure in MessageRef::get_seqnum.
  • The src of the Message displays the GString address.

Origin issue for an occurrence of the first case above fixed in gst-plugins-base!860 (merged)

Edited by François Laignel

Merge request reports