[gstreamer-bugs] [Bug 370836] Looping feature for gnlobject

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 30 14:17:50 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=370836
  GStreamer | gnonlin | git

--- Comment #10 from rob at yorba.org 2010-08-30 21:17:46 UTC ---
Thanks for the detailed review.  I've updated the patch with most of your
comments.

>A couple of minor issues, it would make a lot more sense (and cleaner code) if
>the handling was done in gnlghostpad and just having to add a boolean regarding
>how to behave if duration != media_duration.

I should have been clearer about my goal.  I'll try to clarify here.

loop-duration is how long one loop will take.  If this is longer than
media-duration, there will be silence after the clip plays for (loop-duration -
media-duration) on every single pass through the loop.

The total amount of time the gnlobject will loop is specified by duration.

If we have a boolean regarding how to behave if duration != media_duration, how
can we specify how much silence to have between loop iterations?  My use case
for this is looping for a metronome sound.  loop-duration is the length of the
beat.

I'll submit another patch once we come to agreement on this.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list