{
got_picture = 0;
}
+ mlt_properties_set_int( properties, "top_field_first", frame.top_field_first );
}
}
}
}
}
+
+ // Set the field order property for this frame
+ mlt_properties_set_int( frame_properties, "top_field_first",
+ mlt_properties_get_int( properties, "top_field_first" ) );
// Regardless of speed, we expect to get the next frame (cos we ain't too bright)
mlt_properties_set_position( properties, "video_expected", position + 1 );
// Keep the original image around to be destroyed on frame close
mlt_properties_rename( properties, "image", "original_image" );
+ // Duplicate the last line in the field to avoid artifact
+ memcpy( image + oheight * owidth * 2, image + oheight * owidth * 2 - owidth * 4, owidth * 2 );
+
// Offset the image pointer by one line
image += owidth * 2;
size -= owidth * 2;
-
+
// Set the new image pointer with no destructor
mlt_properties_set_data( properties, "image", image, size, NULL, NULL );
*.svg=pixbuf
*.tga=pixbuf
*.txt=pango
+*.vob=mcmpeg,avformat
*.wav=avformat
*.wmv=avformat
*=avformat
}
-// Prepend the property value with the server root
+// Prepend the property value with the document root
static inline void qualify_property( deserialise_context context, mlt_properties properties, char *name )
{
char *resource = mlt_properties_get( properties, name );