[gstreamer-bugs] [Bug 625138] [dshowvideosrc][PATCH] Don't use a range in the caps if min==max

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 23 11:29:51 PDT 2010


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

--- Comment #3 from Andoni Morales <ylatuya at gmail.com> 2010-07-23 18:29:49 UTC ---
(In reply to comment #2)
> Hi, 
> 
> Thx for reporting and the patch.
> 
> I have 2 questions:
> 
> ** If we a fixed width as 10, why having "width=(int)[ 10, 10 ]" results on a
> error ?
> Anyway, having "width=(int)10" would be better.
The start must be smaller than the range stop
http://cgit.freedesktop.org/gstreamer/gstreamer/tree/gst/gstvalue.c#n785
> 
> ** You wrote: after executing "if (min_w = max_w)", then min_w will be equal to
> max_w (and only False if max_w is equal to 0). Is it what you want ? (should be
> "==" instead of "=" ?

That's a very stupid typo from my side :)
> 
> Julien

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