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:
29231bb
)
caps: use our macos more
author
Stefan Kost
<ensonic@users.sf.net>
Sat, 22 May 2010 19:44:02 +0000
(22:44 +0300)
committer
Stefan Kost
<ensonic@users.sf.net>
Sat, 22 May 2010 19:44:02 +0000
(22:44 +0300)
gst/gstcaps.c
patch
|
blob
|
history
diff --git
a/gst/gstcaps.c
b/gst/gstcaps.c
index
c82c6be
..
fd212fe
100644
(file)
--- a/
gst/gstcaps.c
+++ b/
gst/gstcaps.c
@@
-356,7
+356,7
@@
gst_caps_make_writable (GstCaps * caps)
g_return_val_if_fail (caps != NULL, NULL);
/* we are the only instance reffing this caps */
- if (
g_atomic_int_get (&caps->refcount) == 1
)
+ if (
IS_WRITABLE (caps)
)
return caps;
/* else copy */