Patch attached internally stores the exif orientation so that it can be
accessible to the framework and apps using it.
Useful it in Kdenlive to correctly rotate images when creating proxy
images.
/* Free the EXIF data */
exif_data_unref(d);
}
+
+ // Remember EXIF value, might be useful for someone
+ mlt_properties_set_int( producer_props, "_exif_orientation" , exif_orientation );
if ( exif_orientation > 1 )
{
exif_data_unref(d);
}
+ // Remember EXIF value, might be useful for someone
+ mlt_properties_set_int( producer_props, "_exif_orientation" , exif_orientation );
+
if ( exif_orientation > 1 )
{
// Rotate image according to exif data