On Sun, Nov 17, 2013 at 9:06 AM, Markus Kienast <[email protected]> wrote:
> Look at this:
>
> USTA U0 shows, we are at clip 4
> So WIPE U0 should remove clips 0, 1 ,2 and 3.
> But 3 actually stays there.
>
> Only it's IN and OUT points are changed to the same value. In the
> example below it is 6000, as I had IN=5001 and OUT=6000 before.
>
> When I do not set IN and OUT points the absolute clip length in frames is
> used.
>
> However, length still shows as 1 frame, while it should be 0 to be correct.
>
> So I am totally confused about what that means and why it is done this
> way, if it is done on purpose.
>
> Dan or anybody else, please advise?
I just fixed this and pushed the fix into git. Here is the simple
change if you want to make it in your source copy instead of pulling
from git.
diff --git a/src/melted/melted_unit.c b/src/melted/melted_unit.c
index 62d8435..170cff8 100644
--- a/src/melted/melted_unit.c
+++ b/src/melted/melted_unit.c
@@ -245,7 +245,7 @@ static void wipe_unit( melted_unit unit )
if ( info.producer != NULL && info.start > 0 )
{
mlt_service_lock( MLT_PLAYLIST_SERVICE( playlist ) );
- mlt_playlist_remove_region( playlist, 0, info.start - 1 );
+ mlt_playlist_remove_region( playlist, 0, info.start );
mlt_service_unlock( MLT_PLAYLIST_SERVICE( playlist ) );
}
--
+-DRD-+
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel