[Basic tuto 12: Streaming] Reformat code
[Playback tuto 4] Add command-line options

Correct also percentage calculation with GST_FORMAT_PERCENT_MAX.