[Bug 776559] adaptivedemux: Snap seek to other period does not work

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Mar 5 10:46:46 UTC 2017


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

Seungha Yang <sh.yang at lge.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #342560|0                           |1
        is obsolete|                            |

--- Comment #3 from Seungha Yang <sh.yang at lge.com> ---
Created attachment 347257
  --> https://bugzilla.gnome.org/attachment.cgi?id=347257&action=edit
adaptivedemux: Remove code for adjusting snap seek position

stream_seek() is possible if and only if the target seek position
is inside of current period, in case of DASH.
Also, previous implementation caused stream_seek() twice for a certain stream
(one done by adaptivdemux and the other done by subclass).
it's obviously redundant operation.

To handle snap seek, this patch removes the previous code,
and adaptivdemux will just handle GST_SEEK_TYPE_NONE case.
Then, let subclass handle snap seeking including gst_segment_do_seek().
Additionally, some macros which are commonly used by subclasses
are moved to header to remove duplication.

-- 
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