[Gstreamer-bugs] [Bug 145399] New: - v4lsrc probably needs more options to overide the default behavior

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sun Jul 4 10:46:16 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=145399
GStreamer | gst-plugins | Ver: 0.8.2

           Summary: v4lsrc probably needs more options to overide the
                    default behavior
           Product: GStreamer
           Version: 0.8.2
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-maint at bugzilla.gnome.org
        ReportedBy: filamoon at hotmail.com
         QAContact: gstreamer-maint at bugzilla.gnome.org


I struggled a lot to make my webcam work. It's a Labtech Quickcam USB camera 
which only supports BGR format (bpp=24, depth=24).

I made two modifications:
1) change MIN_BUFFERS_QUEUED from 2 to 1. My quickcam driver only opens 1 
buffer.
2) In gst_v4lsrc_open(), I modified the palette[] array by moving forward 
VIDEO_PALETTE_RGB24 to before VIDEO_PALETTE_RGB555. Otherwise v4lsrc will use 
RGB555, instead of RGB24.

In short, I think probably v4lsrc needs two options to set the minimum buffer 
number and the preferred color format.

If you agree, I can try to add them for you.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list