diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-08-07 18:19:29 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-08-07 19:04:42 +0200 |
commit | ffb40074cd9642b248d2674e34fa56d65577f22f (patch) | |
tree | 4f57a94d5eea31f42573b646d2e3227657f6c440 | |
parent | 544840ff38ab616f359402cc784aef8112165825 (diff) | |
download | gstreamer-plugins-bad-ffb40074cd9642b248d2674e34fa56d65577f22f.tar.gz |
winks: define STATIC_KSPROPSETID_Wave_Queued if not defined
-rw-r--r-- | sys/dshowsrcwrapper/gstdshow.cpp | 4 | ||||
-rw-r--r-- | sys/winks/kshelpers.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/dshowsrcwrapper/gstdshow.cpp b/sys/dshowsrcwrapper/gstdshow.cpp index 11ea159d6..c02abea35 100644 --- a/sys/dshowsrcwrapper/gstdshow.cpp +++ b/sys/dshowsrcwrapper/gstdshow.cpp @@ -435,12 +435,12 @@ gst_dshow_new_video_caps (GstVideoFormat video_format, const gchar * name, /* other video format */ if (!video_caps) { - if (g_strcasecmp (name, "video/x-dv, systemstream=FALSE") == 0) { + if (g_ascii_strncasecmp (name, "video/x-dv, systemstream=FALSE", 31) == 0) { video_caps = gst_caps_new_simple ("video/x-dv", "systemstream", G_TYPE_BOOLEAN, FALSE, "format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('d', 'v', 's', 'd'), NULL); - } else if (g_strcasecmp (name, "video/x-dv, systemstream=TRUE") == 0) { + } else if (g_ascii_strncasecmp (name, "video/x-dv, systemstream=TRUE", 31) == 0) { video_caps = gst_caps_new_simple ("video/x-dv", "systemstream", G_TYPE_BOOLEAN, TRUE, NULL); return video_caps; diff --git a/sys/winks/kshelpers.c b/sys/winks/kshelpers.c index 787b31580..c2432f5e5 100644 --- a/sys/winks/kshelpers.c +++ b/sys/winks/kshelpers.c @@ -25,6 +25,12 @@ GST_DEBUG_CATEGORY_EXTERN (gst_ks_debug); #define GST_CAT_DEFAULT gst_ks_debug +#ifndef STATIC_KSPROPSETID_Wave_Queued +#define STATIC_KSPROPSETID_Wave_Queued \ + 0x16a15b10L,0x16f0,0x11d0,0xa1,0x95,0x00,0x20,0xaf,0xd1,0x56,0xe4 +DEFINE_GUIDSTRUCT("16a15b10-16f0-11d0-a195-0020afd156e4", KSPROPSETID_Wave_Queued); +#endif + gboolean ks_is_valid_handle (HANDLE h) { |