MediaLocator locator = getSource().getLocator();
// workaround because JMF does not like relative file URLs.
if (locator.getProtocol().equals("file"))
{ final String newUrl = URLUtils.createAbsoluteFileUrl(locator.toExternalForm());
if (newUrl != null)
{
final MediaLocator newSource = new MediaLocator(newUrl);
if (!locator.toExternalForm().equals(newSource.toExternalForm()))
{