[gstreamer-bugs] [Bug 370865] [basesrc] update segment duration in gst_base_src_update_length

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Nov 13 09:56:00 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=370865

  GStreamer | gstreamer (core) | Ver: HEAD CVS


Wim Taymans changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim at fluendo.com
  Attachment #76010|none                        |committed
               Flag|                            |
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from Wim Taymans  2006-11-13 17:54 UTC -------
Thanks, I slightly modified it so that it stores the new size as the segment
duration before clipping it to the segment boundary.

        Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>

        * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
        Store new length in segment duration so we don't keep on calling the
        potentially expensize get_size() call. Fixes #370865.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list