[Bug 706970] New: Possible issue with RTP buffer allocation in rtpmpvpay

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 28 05:38:28 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=706970
  GStreamer | gst-plugins-good | 1.0.9

           Summary: Possible issue  with RTP buffer allocation in
                    rtpmpvpay
    Classification: Platform
           Product: GStreamer
           Version: 1.0.9
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: visechelle at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=253372)
 View: https://bugzilla.gnome.org/attachment.cgi?id=253372
 Review: https://bugzilla.gnome.org/review?bug=706970&attachment=253372

Patch

In gst_rtp_mpv_pay_flush() of gstrtpmpvpay.c, RTP buffer allocation should not
be done with padding for the specific MPEG2 header as the padding is done at
the end of the buffer and the last byte is the size of the padding.
Indeed the specific MPEG header is located after the common RTP header.

See the provided patch as a solution.

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