Call gst::init() in message::test_other_fields() test at the beginning

This commit is contained in:
Sebastian Dröge 2018-11-03 20:15:27 +02:00
parent f53f5f92a4
commit 859ea53117

View file

@ -2394,6 +2394,8 @@ mod tests {
#[cfg(feature = "v1_14")]
#[test]
fn test_other_fields() {
::init().unwrap();
let eos_msg = Message::new_eos()
.other_fields(&[("extra-field", &true)])
.seqnum(Seqnum(1))