[Bug 750863] tests: dashdemux: added unit tests for parsing period element

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 24 03:23:22 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=750863

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.5.2

--- Comment #13 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Florin Apostol from comment #11)
> (In reply to Sebastian Dröge (slomo) from comment #8)
> > Review of attachment 305323 [details] [review] [review]:
> > 
> > ::: tests/check/elements/dash_mpd.c
> > @@ +59,3 @@
> >    GstMpdClient *mpdclient = gst_mpd_client_new ();
> >  
> > +  ret = gst_mpd_parse (mpdclient, xml, (gint) strlen (xml));
> > 
> > Does it make sense to use gint for this function? Shouldn't it be gsize or
> > guint instead?
> 
> The declaration of gst_mpd_parse is:
> gboolean gst_mpd_parse (GstMpdClient *client, const gchar *data, gint size);
> 
> In my opinion size should have the type gsize. But I don't want to make
> changes in the interface of dashdemux parser. I don't think somebody will
> use a negative value for size, but you never know.

Change it in a separate patch then, thanks :)

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