mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
mulaw: Fix event handling in unit test
This commit is contained in:
parent
4fdbf88a65
commit
3909eced0e
2 changed files with 3 additions and 2 deletions
|
@ -59,7 +59,8 @@ mulawdec_setup (void)
|
|||
gst_pad_set_active (mysrcpad, TRUE);
|
||||
gst_pad_set_active (mysinkpad, TRUE);
|
||||
|
||||
gst_pad_set_caps (mysrcpad, src_caps);
|
||||
gst_check_setup_events (mysrcpad, mulawdec, src_caps, GST_FORMAT_TIME);
|
||||
|
||||
gst_caps_unref (src_caps);
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ mulawenc_setup (void)
|
|||
gst_pad_set_active (mysrcpad, TRUE);
|
||||
gst_pad_set_active (mysinkpad, TRUE);
|
||||
|
||||
gst_pad_set_caps (mysrcpad, src_caps);
|
||||
gst_check_setup_events (mysrcpad, mulawenc, src_caps, GST_FORMAT_TIME);
|
||||
gst_caps_unref (src_caps);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue