Properly use enums instead of string.
Properly use enums instead of string.

svn path=/flumotion-advanced/flumotion-transcoder/trunk/; revision=8288

osiloke/Flumotion-Transcoder,osiloke/Flumotion-Transcoder