From 216d29325685278d31ba66d4a49fe5dbc2c98b60 Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Sun, 26 Sep 2010 16:13:02 -0700 Subject: [PATCH] Parse colorspace profile property and add hardcoded default. --- src/framework/mlt_profile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/framework/mlt_profile.c b/src/framework/mlt_profile.c index 636eb097..09c32586 100644 --- a/src/framework/mlt_profile.c +++ b/src/framework/mlt_profile.c @@ -132,6 +132,7 @@ mlt_profile mlt_profile_init( const char *name ) profile->sample_aspect_den = 15; profile->display_aspect_num = 4; profile->display_aspect_den = 3; + profile->colorspace = 601; } } } @@ -219,6 +220,7 @@ mlt_profile mlt_profile_load_properties( mlt_properties properties ) profile->sample_aspect_den = mlt_properties_get_int( properties, "sample_aspect_den" ); profile->display_aspect_num = mlt_properties_get_int( properties, "display_aspect_num" ); profile->display_aspect_den = mlt_properties_get_int( properties, "display_aspect_den" ); + profile->colorspace = mlt_properties_get_int( properties, "colorspace" ); } return profile; } -- 2.39.2