rtpmux: fix for caps api changes
This commit is contained in:
parent
bb345a584d
commit
6826bbb6da
@ -591,15 +591,14 @@ same_clock_rate_fold (const GValue * item, GValue * ret, gpointer user_data)
|
|||||||
GstPad *mypad = user_data;
|
GstPad *mypad = user_data;
|
||||||
GstPad *pad = g_value_get_object (item);
|
GstPad *pad = g_value_get_object (item);
|
||||||
GstCaps *peercaps;
|
GstCaps *peercaps;
|
||||||
const GstCaps *accumcaps;
|
GstCaps *accumcaps;
|
||||||
GstCaps *intersect;
|
GstCaps *intersect;
|
||||||
|
|
||||||
if (pad == mypad) {
|
if (pad == mypad)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
|
||||||
|
|
||||||
accumcaps = gst_value_get_caps (ret);
|
accumcaps = g_value_get_boxed (ret);
|
||||||
peercaps = gst_pad_peer_query_caps (pad, (GstCaps *) accumcaps);
|
peercaps = gst_pad_peer_query_caps (pad, accumcaps);
|
||||||
if (!peercaps) {
|
if (!peercaps) {
|
||||||
g_warning ("no peercaps");
|
g_warning ("no peercaps");
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user