[Bug 692933] New: [API] codecparsers: mpeg2: add new API that takes GstMpegVideoPacket arguments

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 31 03:52:18 PST 2013


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

           Summary: [API] codecparsers: mpeg2: add new API that takes
                    GstMpegVideoPacket arguments
    Classification: Platform
           Product: GStreamer
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: gb.devel at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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

codecparsers: mpeg2: add new API that takes  GstMpegVideoPacket arguments

Hi,

This patch adds new interface to MPEG-2 video parser so that functions take a
GstMpegVideoPacket argument instead of data, size and offset. New functions are
called after gst_mpeg_video_packet_*() and provide the default implementation.

Older API is moved to the deprecated API and re-use the new functions.

The new API is more convenient in practice, since we normally get a correct
packet out of gst_mpeg_video_parse(). i.e. we just need to re-use it as is when
each individual parser is called. This also makes it possible to add an API for
slice() header which is more consistent/in-line with the rest of the mpeg2
codec parser.

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