[Bug 743973] New: streamsynchronizer: need find the least running time from segment

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Feb 4 02:08:57 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=743973
  GStreamer | gst-plugins-base | 1.4.1

           Summary: streamsynchronizer: need find the least running time
                    from segment
    Classification: Platform
           Product: GStreamer
           Version: 1.4.1
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: kevinbing.song at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Issue:

External subtitle can't sync with video after seek.

Root Cause:

subparse send the same segment which get from seek event. video demuxer changed
the segment as video need send from key frame in fast seek mode. accurate seek
is ok as accurate seek needn't change segment.
video demuxer changed segment.time which used to calculate position in
basesink. video demuxer changed segment.start which used to calculate render
time in basesink.
subtitle can't sync with video if subtitle pipeline and video pipeline send
different segment to basesink.

Solution:

Hold all segment event and select the least segment.time and segment.start. and
than send the same segment to basesink to keep subtitle sync with video.

I have rough test the solution, it works. If the solution is ok, I can upload
the patch for it.

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