Skip to content

Commit

Permalink
gstglsinkbin: Inject SIGILL
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
digetx committed Jan 18, 2022
1 parent aee292f commit 006f9a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions subprojects/gst-plugins-base/ext/gl/gstglsinkbin.c
Expand Up @@ -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 "
Expand Down

0 comments on commit 006f9a2

Please sign in to comment.