[Bug 708598] asfdemux: when seek to end of file, some asf recieve EOS and then finished. But some asf file play from beginning.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 24 14:45:40 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=708598
  GStreamer | gst-plugins-ugly | 1.0.5

Thiago Sousa Santos <thiago.sousa.santos> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.2.x

--- Comment #4 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2013-09-24 21:45:33 UTC ---
commit 556055e2f1e2238c0d9cb67b0922635b69917f97
Author: Thiago Santos <ts.santos at partner.samsung.com>
Date:   Tue Sep 24 10:08:10 2013 -0700

    asfdemux: Only use segment.start as seek_time if it is relative

    Relying on the gst_segment_do_seek results for getting the
    seeking time should not be used if seek type is SET because the
    do_seek function makes the 'cur` position of the seek normalized
    on the segment range. This means that seeking beyond the end of the
    file might not result in instant EOS as it will end up seeking to
    the final ts of the file.

    In asf seeking to the final timestamp can lead to seeking to the last
    keyframe, meaning a few seconds of video will still be played, which should
    not be the desired behavior when seeking beyong file limits.

commit abe5ca6d962fdd34c1292b71f72495475eac2174
Author: Thiago Santos <ts.santos at partner.samsung.com>
Date:   Tue Sep 24 10:07:25 2013 -0700

    asfdemux: Parse last simple index entry

    The entry size is fixed at 6, fix typo to finish parsing the index
    correctly until the last sample

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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