[Bug 741751] New: mssdemux: use correct type for setting bitrate

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Dec 19 02:03:16 PST 2014


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

           Summary: mssdemux: use correct type for setting bitrate
    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: kameyameha at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


In gstmssmanifest.c, _GstMssStreamQuality::bitrate is specified as of type
"guint64" but it is set incorrectly in caps structure using "G_TYPE_INT". 

typedef struct _GstMssStreamQuality
{
  xmlNodePtr xmlnode;

  gchar *bitrate_str;
  guint64 bitrate;
} GstMssStreamQuality;

_gst_mss_stream_audio_caps_from_qualitylevel_xml (GstMssStreamQuality * q)
  ...
  if (q->bitrate)
    gst_structure_set (structure, "bitrate", G_TYPE_INT, q->bitrate, NULL);
  ...

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