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:
a30e637
)
gst: log performance warning debug message if glib emulates atomic ops
author
Tim-Philipp Müller
<tim@centricular.net>
Fri, 24 Aug 2012 22:14:57 +0000
(23:14 +0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Fri, 24 Aug 2012 22:14:57 +0000
(23:14 +0100)
gst/gst.c
patch
|
blob
|
history
diff --git
a/gst/gst.c
b/gst/gst.c
index b19bac019d99e0ff30ac1588959cf55ee544d98e..793afaa0f7f333ab28ad7415b3cf70963a3be610 100644
(file)
--- a/
gst/gst.c
+++ b/
gst/gst.c
@@
-591,6
+591,11
@@
init_pre (GOptionContext * context, GOptionGroup * group, gpointer data,
}
#endif
+#ifndef G_ATOMIC_LOCK_FREE
+ GST_CAT_WARNING (GST_CAT_PERFORMANCE, "GLib atomic operations are NOT "
+ "implemented using real hardware atomic operations!");
+#endif
+
return TRUE;
}