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:
bb345a5
)
rtpmux: fix for caps api changes
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Sun, 11 Mar 2012 18:06:59 +0000
(19:06 +0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sun, 16 Dec 2012 16:35:33 +0000
(16:35 +0000)
gst/rtpmanager/gstrtpmux.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/gstrtpmux.c
b/gst/rtpmanager/gstrtpmux.c
index
de09fd4
..
5babda4
100644
(file)
--- a/
gst/rtpmanager/gstrtpmux.c
+++ b/
gst/rtpmanager/gstrtpmux.c
@@
-591,15
+591,14
@@
same_clock_rate_fold (const GValue * item, GValue * ret, gpointer user_data)
GstPad *mypad = user_data;
GstPad *pad = g_value_get_object (item);
GstCaps *peercaps;
-
const
GstCaps *accumcaps;
+ GstCaps *accumcaps;
GstCaps *intersect;
- if (pad == mypad)
{
+ if (pad == mypad)
return TRUE;
- }
- accumcaps = g
st_value_get_caps
(ret);
- peercaps = gst_pad_peer_query_caps (pad,
(GstCaps *)
accumcaps);
+ accumcaps = g
_value_get_boxed
(ret);
+ peercaps = gst_pad_peer_query_caps (pad, accumcaps);
if (!peercaps) {
g_warning ("no peercaps");
return TRUE;