]> git.sesse.net Git - mlt/commitdiff
Set libdv producer to Rec 601 colorspace.
authorDan Dennedy <dan@dennedy.org>
Mon, 27 Sep 2010 00:42:50 +0000 (17:42 -0700)
committerDan Dennedy <dan@dennedy.org>
Mon, 27 Sep 2010 00:42:50 +0000 (17:42 -0700)
src/modules/dv/producer_libdv.c

index 12501f3dbedf6ac1d78feb5507b7bdbb272d1207..80c713c786862239ccef84f8ba793a1b183517b6 100644 (file)
@@ -491,6 +491,7 @@ static int producer_get_frame( mlt_producer producer, mlt_frame_ptr frame, int i
                mlt_properties_set_int( properties, "real_width", 720 );
                mlt_properties_set_int( properties, "real_height", this->is_pal ? 576 : 480 );
                mlt_properties_set_int( properties, "top_field_first", !this->is_pal ? 0 : ( data[ 5 ] & 0x07 ) == 0 ? 0 : 1 );
+               mlt_properties_set_int( properties, "colorspace", 601 );
        
                // Parse the header for meta info
                dv_parse_header( dv_decoder, data );