lib: Properly convert durations in milliseconds
This merge request brings a fix with:
- The
new_duration
set along with themedia_duration_changed
event 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.