[gst-devel] how to use dshowvideosrc
Michael Smith
msmith at xiph.org
Mon Jul 28 19:15:04 CEST 2008
On Sun, Jul 27, 2008 at 5:49 PM, Andres Colubri
<andres.colubri at gmail.com> wrote:
> Hello,
>
> Wouldn't be a good idea to have the function
> gst_dshowvideosrc_get_device_name_values exposed in the header file
> gstdshowvidesrc.h?
> In this way, it would be possible to query the available directshow
> capture devices from the program (without having to link dshow directly
> from there,
> since all the dshow stuff is resolved inside the wrapper).
gstdshowvideosrc.h is not a public header (no plugin headers are
public, in fact), so an application shouldn't ever be using them. So
that wouldn't help at all - the function isn't exported from the dll
either.
GStreamer has appropriate APIs (the property-probe stuff) that this
plugin could implement to allow applications to query things like
this.
I also want to deprecate the libgstdshow code; it's poor quality and
doesn't implement sensible APIs for plugins to use.
Mike
More information about the gstreamer-devel
mailing list