[gstreamer-bugs] [Bug 591747] New: v4l2src should clear formats list when it closes the device

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Aug 13 14:07:11 PDT 2009


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

  GStreamer | gst-plugins-good | Ver: git
           Summary: v4l2src should clear formats list when it closes the
                    device
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: fargiolas at gnome.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Currently v4l2src calls gst_v4l2src_clear_format_list in the dispose method so
if you set the element to NULL, change the device and set it to READY again it
doesn't refresh its formats list and sets caps from the previous device format
list.
At a quick glance I'd say it should be better to call clear_format_list and
unref probed_caps in the stop method so that it gets called on READY->NULL.


-- 
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=591747.




More information about the Gstreamer-bugs mailing list