]> git.sesse.net Git - mlt/commitdiff
Change consumer 'profile' property to 'mlt_profile'
authorDan Dennedy <dan@dennedy.org>
Tue, 7 Jun 2011 04:14:07 +0000 (21:14 -0700)
committerDan Dennedy <dan@dennedy.org>
Tue, 7 Jun 2011 04:14:07 +0000 (21:14 -0700)
libavcodec uses the profile property for aac and libx264.

src/framework/mlt_consumer.c
src/modules/avformat/consumer_avformat.yml

index 2e0a22c00fbc4536545bf58b9bf6d394f248d476..02deff3cac4e0b3a465bc69e3f1f099262e32fb7 100644 (file)
@@ -154,7 +154,7 @@ static void apply_profile_properties( mlt_consumer self, mlt_profile profile, ml
 
 static void mlt_consumer_property_changed( mlt_properties owner, mlt_consumer self, char *name )
 {
-       if ( !strcmp( name, "profile" ) )
+       if ( !strcmp( name, "mlt_profile" ) )
        {
                // Get the properies
                mlt_properties properties = MLT_CONSUMER_PROPERTIES( self );
index 1fc4a0f626a8d3a482ec3aa04a84c2ba55eef112..7a92052e6606edd26c9d185b229a9396a7c3550f 100644 (file)
@@ -27,14 +27,14 @@ parameters:
     description: This is not the same thing as the ffmpeg -target option!
     readonly: yes
 
-  - identifier: profile
-    title: Profile
+  - identifier: mlt_profile
+    title: MLT Profile
     type: string
     description: >
       Choose a MLT basic video settings preset.
       This overrides a profile that may have been set elsewhere.
 
-# These override the profile
+# These override the MLT profile
   - identifier: width
     title: Width
     type: integer