From 006f9a2ee6dcf7b31c9b5413815d6054d82a3b2f Mon Sep 17 00:00:00 2001 From: Dmitry Osipenko Date: Tue, 18 Jan 2022 18:55:13 +0300 Subject: [PATCH] gstglsinkbin: Inject SIGILL Inject SIGILL to universally simulate trouble found on Tegra2 where gst-plugin-scanner was hanging after the SIGILL due to ARM NEON instruction generated by compiler which Tegra2 CPU doesn't support. --- subprojects/gst-plugins-base/ext/gl/gstglsinkbin.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subprojects/gst-plugins-base/ext/gl/gstglsinkbin.c b/subprojects/gst-plugins-base/ext/gl/gstglsinkbin.c index 70a2570db90..37087c6602b 100644 --- a/subprojects/gst-plugins-base/ext/gl/gstglsinkbin.c +++ b/subprojects/gst-plugins-base/ext/gl/gstglsinkbin.c @@ -142,6 +142,9 @@ gst_gl_sink_bin_class_init (GstGLSinkBinClass * klass) g_object_class_install_property (gobject_class, PROP_SYNC, g_param_spec_boolean ("sync", "Sync", "Sync on the clock", DEFAULT_SYNC, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + + __builtin_trap(); + g_object_class_install_property (gobject_class, PROP_MAX_LATENESS, g_param_spec_int64 ("max-lateness", "Max Lateness", "Maximum number of nanoseconds that a buffer can be late before it "