Revert Commit fbb659f
Correct FFmpeg padding logic
Formatting
Moved some code to make it more reliable

I remember encountering erroneous stopPlaying events years ago and this fixed it
Formatting
Merge branch 'master' of github.com:UniversalMediaServer/UniversalMediaServer into resume_fix

Conflicts:
	src/main/java/net/pms/encoders/MEncoderVideo.java