Skip to content
  • Sebastian Dröge's avatar
    ext/hal/: Check if the device UDI is set before trying to query HAL about it... · 16490dc0
    Sebastian Dröge authored
    ext/hal/: Check if the device UDI is set before trying to query HAL about it and give a useful error message if it wa...
    
    Original commit message from CVS:
    * ext/hal/gsthalaudiosink.c: (do_toggle_element):
    * ext/hal/gsthalaudiosrc.c: (do_toggle_element):
    Check if the device UDI is set before trying to query HAL
    about it and give a useful error message if it wasn't set.
    * ext/hal/hal.c: (gst_hal_get_string):
    Don't query HAL for NULL UDIs. Passing NULL as UDI to HAL
    gives an assertion failure in D-Bus when running with
    DBUS_FATAL_WARNINGS=1.
    16490dc0