X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_profile.h;h=18144931774237ed87af78a3cded5f2530e79a35;hb=6c95a9df3eee556eb8375fdee25c1d5469642745;hp=29ee633d4ba47dd824ace2fa6c09f2045c6e186b;hpb=40b169c095486ba1b868486eb98a47c41f36ce8c;p=melted diff --git a/src/framework/mlt_profile.h b/src/framework/mlt_profile.h index 29ee633..1814493 100644 --- a/src/framework/mlt_profile.h +++ b/src/framework/mlt_profile.h @@ -1,7 +1,9 @@ -/* - * mlt_profile.h -- video output definition - * Copyright (C) 2007 Ushodaya Enterprises Limited - * Author: Dan Dennedy +/** + * \file mlt_profile.h + * \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 @@ -23,9 +25,13 @@ #include "mlt_types.h" +/** \brief Profile class + * + */ + struct mlt_profile_s { - char* name; + char* description; int frame_rate_num; int frame_rate_den; int width; @@ -37,13 +43,12 @@ struct mlt_profile_s int display_aspect_den; }; -extern mlt_profile mlt_profile_get( ); -extern mlt_profile mlt_profile_select( const char *name ); +extern mlt_profile mlt_profile_init( const char *name ); extern mlt_profile mlt_profile_load_file( const char *file ); extern mlt_profile mlt_profile_load_properties( mlt_properties properties ); extern mlt_profile mlt_profile_load_string( const char *string ); extern double mlt_profile_fps( mlt_profile profile ); extern double mlt_profile_sar( mlt_profile profile ); extern double mlt_profile_dar( mlt_profile profile ); -extern void mlt_profile_close( ); +extern void mlt_profile_close( mlt_profile profile ); #endif