[Bug 754418] segment: Added gst_segment_position_from_stream_time()

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Sep 25 15:22:24 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=754418

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.7.1

--- Comment #15 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 44ba1565d932952979959b8b17c3daf635db9bd6
Author: Vivia Nikolaidou <vivia at ahiru.eu>
Date:   Wed Sep 2 17:58:38 2015 +0300

    segment: Replaced gst_segment_to_position with
gst_segment_position_from_running_time

    gst_segment_to_position might cause confusion, especially with the addition
of
    gst_segment_position_from_stream_time . Deprecated gst_segment_to_position
    now, and replaced it with gst_segment_position_from_running_time.

    Also added unit tests.

commit 572c7c6b9a0d5d52062a8523ad0b26712b726994
Author: Vivia Nikolaidou <vivia at ahiru.eu>
Date:   Wed Sep 2 17:38:25 2015 +0300

    segment: Added unit tests for gst_segment_position_from_stream_time

commit 26ef44f17ce0a63907337eec8f34dc34a10a80b7
Author: Vivia Nikolaidou <vivia at toolsonair.com>
Date:   Fri Sep 25 15:57:16 2015 +0300

    segment: gst_segment_to_stream_time: Renamed 'result' to 'stream_time'

    Renamed the "result" variable to "stream_time" for better readability.

commit c0d4b1b64680bd8016ce6a69221b1564e392d59b
Author: Vivia Nikolaidou <vivia at toolsonair.com>
Date:   Fri Sep 25 15:56:45 2015 +0300

    segment: Added gst_segment_position_from_stream_time()

    gst_segment_position_from_stream_time() will convert stream time into a
    position in the segment so that gst_segment_to_stream_time() with that
    position returns the same stream time. It will return -1 if the stream time
    given is not inside the segment.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list