forked from mirrors/gstreamer-rs
validate: init_debug and setup_test_file is meant to be called before init
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1227>
This commit is contained in:
parent
8eae37c525
commit
b34718697c
1 changed files with 1 additions and 2 deletions
|
@ -12,7 +12,6 @@ pub fn init() {
|
|||
|
||||
#[doc(alias = "gst_validate_init_debug")]
|
||||
pub fn init_debug() {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe {
|
||||
ffi::gst_validate_init_debug();
|
||||
}
|
||||
|
@ -20,7 +19,7 @@ pub fn init_debug() {
|
|||
|
||||
#[doc(alias = "gst_validate_setup_test_file")]
|
||||
pub fn setup_test_file(test_file: &str, use_fakesinks: bool) -> gst::Structure {
|
||||
assert_initialized_main_thread!();
|
||||
skip_assert_initialized!();
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_validate_setup_test_file(
|
||||
test_file.to_glib_none().0,
|
||||
|
|
Loading…
Reference in a new issue