This segfault happend because :
* the variable "audio-device" wasn't created
* hotkeys module (and others) expect the variable to exist.
{
p_aout->output.i_nb_samples = FRAME_SIZE;
}
{
p_aout->output.i_nb_samples = FRAME_SIZE;
}
+
+ /* Create the variable for the audio-device */
+ var_Create( p_aout, "audio-device", VLC_VAR_INTEGER | VLC_VAR_HASCHOICE );
+
+ return VLC_SUCCESS;
}
/*****************************************************************************
}
/*****************************************************************************