[tracker] tracker-extract, gstreamer: Fix check for minimum gstreamer required version
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract, gstreamer: Fix check for minimum gstreamer required version
- Date: Wed, 9 Feb 2011 16:53:29 +0000 (UTC)
commit 1e1c73278160b5ec31b60f57457b6f8865677067
Author: Aleksander Morgado <aleksander lanedo com>
Date: Wed Feb 9 17:52:31 2011 +0100
tracker-extract,gstreamer: Fix check for minimum gstreamer required version
src/tracker-extract/tracker-extract-gstreamer.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index ff04c06..e2c1163 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -1092,7 +1092,9 @@ poll_for_ready (MetadataExtractor *extractor,
gst_message_parse_error (message, &lerror, &error_message);
-#if (GST_VERSION_MICRO >= 20)
+ /* The first GStreamer version with these encryption related errors
+ * is 0.10.20 */
+#if (GST_CHECK_VERSION (0,10,20))
if (lerror->domain == GST_STREAM_ERROR) {
if (lerror->code == GST_STREAM_ERROR_DECRYPT ||
lerror->code == GST_STREAM_ERROR_DECRYPT_NOKEY) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]