[Bug 736926] New: dshowvideosrc: error if set_caps is called while running
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Sep 18 13:22:20 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=736926
GStreamer | gst-plugins-bad | git
Summary: dshowvideosrc: error if set_caps is called while
running
Classification: Platform
Product: GStreamer
Version: git
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: oss at nvl.army.mil
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=286533)
--> (https://bugzilla.gnome.org/attachment.cgi?id=286533)
suggested patch to allow set_caps to be called multiple times
I have a pipeline using dshowvideosrc which calls set_caps while it is already
running, resulting in the error "At least one of the pins involved in the
operation is already connected", VFW_E_ALREADY_CONNECTED. So it seems simply
calling media_filter->Stop() is not enough. This patch checks if the new caps
are the same, returning immediately, otherwise it disconnects the pins before
reconnecting. Not sure if it's better to reconfigure the existing connection,
or if that's even possible.
--
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