X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_profile.c;h=f90ca3d6a8e8064ab718c3e023da4bb285bbb755;hb=1dbd6a7c0bf508fe28e7be1d851311fd880e1742;hp=ea5f098ec520f66c39210f3ff9719a4b6d8c2f05;hpb=0278d02ae0ff251daf6d29f97864bb173feaefe8;p=melted diff --git a/src/framework/mlt_profile.c b/src/framework/mlt_profile.c index ea5f098..f90ca3d 100644 --- a/src/framework/mlt_profile.c +++ b/src/framework/mlt_profile.c @@ -1,7 +1,9 @@ -/* - * mlt_profile.c -- video output definition - * Copyright (C) 2007 Ushodaya Enterprises Limited - * Author: Dan Dennedy +/** + * \file mlt_profile.c + * \brief video output definition + * + * Copyright (C) 2007-2008 Ushodaya Enterprises Limited + * \author Dan Dennedy * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -37,7 +39,7 @@ static mlt_profile mlt_profile_select( const char *name ) const char *prefix = getenv( "MLT_PROFILES_PATH" ); mlt_properties properties = mlt_properties_load( name ); mlt_profile profile = NULL; - + // Try to load from file specification if ( properties && mlt_properties_get_int( properties, "width" ) ) { @@ -61,7 +63,7 @@ static mlt_profile mlt_profile_select( const char *name ) if ( filename[ strlen( filename ) - 1 ] != '/' ) filename[ strlen( filename ) ] = '/'; } - + // Finish loading strcat( filename, name ); profile = mlt_profile_load_file( filename );