[gstreamer-bugs] [Bug 613555] New: camerabin: Do not send initial NEWSEGMENT event to video capturing bin

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Mar 21 19:56:43 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=613555
  GStreamer | gst-plugins-bad | git

           Summary: camerabin: Do not send initial NEWSEGMENT event to
                    video capturing bin
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: alsroot at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


For now, initial NEWSEGMENT which gst auto sends(I suppose) doesn't make sense
since another NEWSEGMENT will be sent anyway from
camerabin_video_pad_tee_src0_have_buffer() and
camerabin_video_pad_aud_src_have_buffer() methods.

Moreover, initial NEWSEGMENT affects plugins like theoraenc and vorbisenc, they
are taking first event to count internal data like initial values for
initial_ts(vorbisenc) and segment.accum(theoraenc). Thus, final ogg file's
synchronization is broken.

Attached patch just skips initial NEWSEGMENT event.

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