Tried the solution in this post to remove the vaapi package and its configuration:
$sudo apt purge gstreamer1.0-vaapi
Worked!