projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf6b41a
)
tools: make unversioned wrapper look for -0.10 tools only
author
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Fri, 5 Aug 2011 11:12:33 +0000
(12:12 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Fri, 5 Aug 2011 11:12:33 +0000
(12:12 +0100)
Don't want (incompatible) 0.11 tools to be picked up by accident.
tools/gst-run.c
patch
|
blob
|
history
diff --git
a/tools/gst-run.c
b/tools/gst-run.c
index
ea6103c
..
b199e6f
100644
(file)
--- a/
tools/gst-run.c
+++ b/
tools/gst-run.c
@@
-356,6
+356,11
@@
main (int argc, char **argv)
candidates = get_candidates (dir, base);
g_free (dir);
+ /* only look for 0.10, we don't want 0.11 tools to be picked up accidentally
+ * (and from 0.11 on the unversioned tools are discontinued anyway) */
+ if (_arg_mm == NULL)
+ _arg_mm = GST_MAJORMINOR;
+
if (_arg_mm) {
/* if a version was forced, look it up in the hash table */
dir = g_hash_table_lookup (candidates, _arg_mm);