[gst-cvs] gst-plugins-bad: dshowvideosrc: use IEnumMediaTypes when IAMStreamConfig is not usable

Julien Isorce cap at kemper.freedesktop.org
Wed Sep 9 03:46:15 PDT 2009


Module: gst-plugins-bad
Branch: master
Commit: 76304164bb457459b7561d508d17d3af2bac4f70
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=76304164bb457459b7561d508d17d3af2bac4f70

Author: Julien Isorce <julien.isorce at gmail.com>
Date:   Wed Sep  9 12:41:17 2009 +0200

dshowvideosrc: use IEnumMediaTypes when IAMStreamConfig is not usable

For some device drivers IAMStreamConfig is not supported.
But EnumMediatypes does not provide range size and framerate.

---

 sys/dshowsrcwrapper/gstdshow.cpp         |   72 ++++++++++++++++++---
 sys/dshowsrcwrapper/gstdshow.h           |   14 ++++-
 sys/dshowsrcwrapper/gstdshowvideosrc.cpp |  103 +++++++++++++++++++++---------
 win32/vs9/libgstdshowsrcwrapper.vcproj   |    8 +-
 4 files changed, 150 insertions(+), 47 deletions(-)

Diff:   http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/diff/?id=76304164bb457459b7561d508d17d3af2bac4f70




More information about the Gstreamer-commits mailing list