X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Ftests%2Fdan.c;fp=src%2Ftests%2Fdan.c;h=0000000000000000000000000000000000000000;hb=17b5a97b9bbe00b442a58a5065498e67b497af09;hp=98f2a0dbf35f399bdc5d5ccd3aff356f2359c615;hpb=f4963a6aa07644399b273b5d2b1f9299c9047414;p=melted diff --git a/src/tests/dan.c b/src/tests/dan.c deleted file mode 100644 index 98f2a0d..0000000 --- a/src/tests/dan.c +++ /dev/null @@ -1,27 +0,0 @@ - -#include -#include -#include -#include - - - -int main( int argc, char **argv ) -{ - mlt_properties p = mlt_properties_parse_yaml( argv[1] ); - mlt_properties q = mlt_properties_new(); - mlt_properties_set_data( q, "metadata", p, 0, ( mlt_destructor )mlt_properties_close, ( mlt_serialiser )mlt_properties_serialise_yaml ); - printf( "%s", mlt_properties_get( q, "metadata" ) ); - mlt_properties_close( q ); - - mlt_repository repo = mlt_factory_init( NULL ); - mlt_properties metadata = mlt_repository_metadata( repo, producer_type, "avformat" ); - if ( metadata ) - { - char *s = mlt_properties_serialise_yaml( metadata ); - printf( "%s", s ); - free( s ); - } - mlt_factory_close(); - return 0; -}