[gstreamer-bugs] [Bug 639063] mpegtsparse is holding the data (not pushing it further)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jan 9 22:36:41 PST 2011


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

--- Comment #3 from Karol <napewnotrafi at gmail.com> 2011-01-10 06:36:39 UTC ---
Created an attachment (id=177908)
 View: https://bugzilla.gnome.org/attachment.cgi?id=177908
 Review: https://bugzilla.gnome.org/review?bug=639063&attachment=177908

Bug fix proposal 2

/* flush to sync byte */
if (pos > 0) {
  /* flush to sync byte */
  gst_adapter_flush (packetizer->adapter, pos);
} else if (!packetizer->know_packet_size) {
  /* drop some invalid data and move to the next possible packets */
  gst_adapter_flush (packetizer->adapter, MPEGTS_MAX_PACKETSIZE);
}

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