summaryrefslogtreecommitdiffstats
path: root/sys/dshowdecwrapper/gstdshowaudiodec.h
diff options
context:
space:
mode:
authorMichael Smith <msmith@xiph.org>2008-09-24 17:21:41 +0000
committerMichael Smith <msmith@xiph.org>2008-09-24 17:21:41 +0000
commita51c4c16b25416ca55ddca56a14c89be63782a90 (patch)
treea954d27933478ef5c400881dc7c8f815f6884892 /sys/dshowdecwrapper/gstdshowaudiodec.h
parent5a97c0d534f49c7732b93deb24c5b05473dece68 (diff)
downloadgst-plugins-bad-a51c4c16b25416ca55ddca56a14c89be63782a90.tar.gz
gst-plugins-bad-a51c4c16b25416ca55ddca56a14c89be63782a90.tar.bz2
gst-plugins-bad-a51c4c16b25416ca55ddca56a14c89be63782a90.zip
sys/dshowdecwrapper/: Prefer known-good filters, create directly by GUID if possible, fall back to creating highest-m...
Original commit message from CVS: * sys/dshowdecwrapper/gstdshowaudiodec.cpp: * sys/dshowdecwrapper/gstdshowaudiodec.h: * sys/dshowdecwrapper/gstdshowfakesrc.cpp: * sys/dshowdecwrapper/gstdshowutil.cpp: * sys/dshowdecwrapper/gstdshowutil.h: * sys/dshowdecwrapper/gstdshowvideodec.cpp: * sys/dshowdecwrapper/gstdshowvideodec.h: Prefer known-good filters, create directly by GUID if possible, fall back to creating highest-merit filter otherwise. Fixes playback with random dshow filters installed in some cases.
Diffstat (limited to 'sys/dshowdecwrapper/gstdshowaudiodec.h')
-rw-r--r--sys/dshowdecwrapper/gstdshowaudiodec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dshowdecwrapper/gstdshowaudiodec.h b/sys/dshowdecwrapper/gstdshowaudiodec.h
index 6301b31f..37f16070 100644
--- a/sys/dshowdecwrapper/gstdshowaudiodec.h
+++ b/sys/dshowdecwrapper/gstdshowaudiodec.h
@@ -60,6 +60,7 @@ typedef struct {
gchar *element_longname; /* Description string for element */
gint32 format; /* WAVEFORMATEX format */
gchar *sinkcaps; /* GStreamer caps of input format */
+ PreferredFilter *preferred_filters; /* NULL-terminated list of preferred filters */
} AudioCodecEntry;
#define GST_TYPE_DSHOWAUDIODEC (gst_dshowaudiodec_get_type())