X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodules%2Fxml%2Fproducer_xml.c;h=e5e15ad1e59d1c31c241f829e610b6b382f4ae5d;hb=66efd2568e1002f11f19d2c672aaf090f7073192;hp=b7c1fd6cd83046e23516d671e1429ee064cd563f;hpb=41765733f12375a01994036780ec9b723737b41d;p=mlt diff --git a/src/modules/xml/producer_xml.c b/src/modules/xml/producer_xml.c index b7c1fd6c..e5e15ad1 100644 --- a/src/modules/xml/producer_xml.c +++ b/src/modules/xml/producer_xml.c @@ -309,6 +309,7 @@ static void on_start_profile( deserialise_context context, const xmlChar *name, p->progressive = my_profile->progressive; p->sample_aspect_den = my_profile->sample_aspect_den; p->sample_aspect_num = my_profile->sample_aspect_num; + p->is_explicit = 1; mlt_profile_close( my_profile ); } } @@ -317,6 +318,7 @@ static void on_start_profile( deserialise_context context, const xmlChar *name, if ( p->description ) free( p->description ); p->description = strdup( _s(atts[ 1 ]) ); + p->is_explicit = 1; } else if ( xmlStrcmp( atts[ 0 ], _x("display_aspect_den") ) == 0 ) p->display_aspect_den = strtol( _s(atts[ 1 ]), NULL, 0 );