Skip to content
  • Stefan Sauer's avatar
    info: avoid global variable for log_file · a528dadb
    Stefan Sauer authored
    Use user_data to pass the log_file handle to the logger-function.
    
    If one wants to change the log target (e.g. GST_DEBUG_FILE), simply call
    gst_debug_remove_log_function() and re-add the handler with the new log-target
    using gst_debug_add_log_function ().
    a528dadb