[gstreamer-bugs] [Bug 424839] New: v4l2src cannot select video inputs (channels)

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Mar 31 05:38:50 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=424839

  GStreamer | gst-plugins-good | Ver: 0.10.5
           Summary: v4l2src cannot select video inputs (channels)
           Product: GStreamer
           Version: 0.10.5
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: thomas.bauer at hauptversammlung.at
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.15/2.16
   GNOME milestone: Unspecified


Please describe the problem:
you commented out a part of 'gstv4l2object.c'. This made it impossible to
select the proper v4l2 videosource ( Tuner, Composite1 or S-Video ) from my usb
videograbber (WinTV USB2) because you made the 'channel property inaccessible.
I uncommented the affected lines and it worked like a charm.

affected code:
/* FIXME norm, channel, frequency are part of the tuner interface, so they
   should be removed from the properties
  g_object_class_install_property (gobject_class, PROP_NORM,
      g_param_spec_string ("norm", "Norm", "Standard norm to use",
          DEFAULT_PROP_NORM, G_PARAM_READWRITE));
  g_object_class_install_property (gobject_class, PROP_CHANNEL,
      g_param_spec_string ("channel", "Channel",
          "Input/output channel to switch to", DEFAULT_PROP_CHANNEL,
          G_PARAM_READWRITE));
  g_object_class_install_property (gobject_class, PROP_FREQUENCY,
      g_param_spec_ulong ("frequency", "Frequency",
          "Frequency to tune to (in Hz)", 0, G_MAXULONG,
DEFAULT_PROP_FREQUENCY,
          G_PARAM_READWRITE));
*/


Steps to reproduce:
1. connect v4l2 device with more than one video sources (e.g. WinTV USB2)
2. do something like e.g.: 'gst-launch v4l2src channel=S-Video ! xvimagesink'
3. watch for the error message


Actual results:
WARNING: erroneous pipeline: no property "channel" in element "v4l2src0"

Expected results:
have the video playing in a window

Does this happen every time?
yes

Other information:
after uncommenting the affected code it works again


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=424839.




More information about the Gstreamer-bugs mailing list