fix for caps api change
This commit is contained in:
parent
80dca40c35
commit
eb03b4de55
@ -141,7 +141,7 @@ gst_alpha_color_transform_caps (GstBaseTransform * btrans,
|
|||||||
gst_caps_unref (tmpl_caps);
|
gst_caps_unref (tmpl_caps);
|
||||||
gst_caps_unref (local_caps);
|
gst_caps_unref (local_caps);
|
||||||
|
|
||||||
result = gst_caps_do_simplify (result);
|
result = gst_caps_simplify (result);
|
||||||
|
|
||||||
GST_LOG_OBJECT (btrans, "transformed %" GST_PTR_FORMAT " to %" GST_PTR_FORMAT,
|
GST_LOG_OBJECT (btrans, "transformed %" GST_PTR_FORMAT " to %" GST_PTR_FORMAT,
|
||||||
caps, result);
|
caps, result);
|
||||||
|
@ -5074,7 +5074,7 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
|
|||||||
gst_structure_set (structure, "interlaced", G_TYPE_BOOLEAN, TRUE, NULL);
|
gst_structure_set (structure, "interlaced", G_TYPE_BOOLEAN, TRUE, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
caps = gst_caps_do_simplify (caps);
|
caps = gst_caps_simplify (caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
return caps;
|
return caps;
|
||||||
@ -5443,7 +5443,7 @@ gst_matroska_demux_audio_caps (GstMatroskaTrackAudioContext *
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
caps = gst_caps_do_simplify (caps);
|
caps = gst_caps_simplify (caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
return caps;
|
return caps;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user