[Bug 649067] v4l2src: got unexpected frame size of 262254 instead of 614400

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jun 5 11:38:12 PDT 2011


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

--- Comment #10 from Ben <plaidcounty at gmail.com> 2011-06-05 18:38:06 UTC ---
Thank you Jason. I just wish I knew what that meant. Could you show me how to
use the workaround or downgrade the driver? Which is better overall?

(In reply to comment #9)
> I am getting the same problem with 0.10.27 or greater on Fedora 15 on a Macbook
> 2,1 with an isight camera, which uses the uvcvideo driver. 0.10.26 from Fedora
> 14 works fine if I downgrade. Custom 0.10.27 packages 0.10.28, as well as the
> 0.10.29 package that ships Fedora 15 all do not work properly.
> 
> I was able to work around it by doing the following with 0.10.29:
> 
> diff -uNr gst-plugins-good-0.10.29/sys/v4l2/gstv4l2object.c
> gst-plugins-good-0.10.29-fixed/sys/v4l2/gstv4l2object.c
> --- gst-plugins-good-0.10.29/sys/v4l2/gstv4l2object.c 2011-03-08
> 06:34:55.000000000 -0500
> +++ gst-plugins-good-0.10.29-fixed/sys/v4l2/gstv4l2object.c 2011-06-04
> 23:59:31.040616435 -0400
> @@ -1504,9 +1504,9 @@
>    gint int_height = height;
> 
>    /* interlaced detection using VIDIOC_TRY/S_FMT */
> -  if (!gst_v4l2_object_get_nearest_size (v4l2object, pixelformat,
> -          &int_width, &int_height, &interlaced))
> -    return NULL;
> +  //if (!gst_v4l2_object_get_nearest_size (v4l2object, pixelformat,
> +  //        &int_width, &int_height, &interlaced))
> +  //  return NULL;
> 
>    memset (&ival, 0, sizeof (struct v4l2_frmivalenum));
>    ival.index = 0;

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