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:
17f2e68
)
Make sure caps are reffed as we're still have a pointer to it.
author
Wim Taymans
<wim.taymans@gmail.com>
Sun, 26 Jan 2003 00:07:40 +0000
(
00:07
+0000)
committer
Wim Taymans
<wim.taymans@gmail.com>
Sun, 26 Jan 2003 00:07:40 +0000
(
00:07
+0000)
Original commit message from CVS:
Make sure caps are reffed as we're still have a pointer to it.
ext/ffmpeg/gstffmpegtypes.c
patch
|
blob
|
history
diff --git
a/ext/ffmpeg/gstffmpegtypes.c
b/ext/ffmpeg/gstffmpegtypes.c
index
ec3c40b
..
cc95ca6
100644
(file)
--- a/
ext/ffmpeg/gstffmpegtypes.c
+++ b/
ext/ffmpeg/gstffmpegtypes.c
@@
-61,6
+61,8
@@
gst_ffmpegtypes_typefind (GstBuffer *buffer, gpointer priv)
if (highest) {
GstCaps *caps;
caps = g_hash_table_lookup (global_types, highest->name);
+ /* make sure we still hold a refcount to this caps */
+ gst_caps_ref (caps);
return caps;
}