mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 21:11:14 +00:00
Call gst::init() in message::test_other_fields() test at the beginning
This commit is contained in:
parent
f53f5f92a4
commit
859ea53117
1 changed files with 2 additions and 0 deletions
|
@ -2394,6 +2394,8 @@ mod tests {
|
||||||
#[cfg(feature = "v1_14")]
|
#[cfg(feature = "v1_14")]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_other_fields() {
|
fn test_other_fields() {
|
||||||
|
::init().unwrap();
|
||||||
|
|
||||||
let eos_msg = Message::new_eos()
|
let eos_msg = Message::new_eos()
|
||||||
.other_fields(&[("extra-field", &true)])
|
.other_fields(&[("extra-field", &true)])
|
||||||
.seqnum(Seqnum(1))
|
.seqnum(Seqnum(1))
|
||||||
|
|
Loading…
Reference in a new issue