lib/output.js
function handleResolution(resolution) {

	var pieces = resolution.split(/[:x]+/),
	    width  = pieces[0],
	    height = pieces[1];

	// Store this as the new video size!
	this.override_probe_values.video_size = resolution;

	// Add it to the filter list
	this.filters['scale'] = width + ':' + height;
}
function handleResolution(resolution) {

	var pieces = resolution.split(/[:x]+/),
	    width  = pieces[0],
	    height = pieces[1];

	// Store this as the new video size!
	this.override_probe_values.video_size = resolution;

	// Add it to the filter list
	this.filters['scale'] = width + ':' + height;
}
Resolution handler

@author   Jelle De Loecker <jelle@develry.be>
@since    1.0.0
@version  1.0.0

@param    {String}   resolution