lib: Properly convert durations in milliseconds
This merge request brings a fix with:
- The
new_durationset along with themedia_duration_changedevent that is now properly converted in milliseconds to match the unit described in the documentation.
This change has been made to both media.c and media_player.c files.