core: vout: ensure that the dec-dev matches the input_thread_t one
This commit ensures that the "dec-dev" option can be configured from the input_thread_t. It will allow to setup the hw decoder for a media via input_item_AddOption() and libvlc_media_add_option() instead of globally. Indeed, the vout can be created directly from the player, in that case, the vout can't inherit options from any input_thread_t.
Showing with 19 additions and 3 deletions