mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
glimagesink: Use gst_pad_get_pad_template_caps in ::get_caps()
This commit is contained in:
parent
0b7f65bbc3
commit
17d3a75583
1 changed files with 1 additions and 1 deletions
|
@ -1003,7 +1003,7 @@ gst_glimage_sink_get_caps (GstBaseSink * bsink, GstCaps * filter)
|
|||
GstCaps *tmp = NULL;
|
||||
GstCaps *result = NULL;
|
||||
|
||||
tmp = gst_caps_from_string ("video/x-raw(memory:GLMemory),format=RGBA");
|
||||
tmp = gst_pad_get_pad_template_caps (GST_BASE_SINK_PAD (bsink));
|
||||
|
||||
if (filter) {
|
||||
result = gst_caps_intersect_full (filter, tmp, GST_CAPS_INTERSECT_FIRST);
|
||||
|
|
Loading…
Reference in a new issue