x11: let upstream know we support cropping
This commit is contained in:
parent
df94f2da81
commit
dd7e605fec
@ -1489,6 +1489,7 @@ gst_ximagesink_sink_query (GstPad * sinkpad, GstQuery * query)
|
||||
|
||||
/* we also support various metadata */
|
||||
gst_query_add_allocation_meta (query, GST_META_API_VIDEO);
|
||||
gst_query_add_allocation_meta (query, GST_META_API_VIDEO_CROP);
|
||||
|
||||
gst_object_unref (pool);
|
||||
break;
|
||||
|
@ -2004,6 +2004,7 @@ gst_xvimagesink_sink_query (GstPad * sinkpad, GstQuery * query)
|
||||
|
||||
/* we also support various metadata */
|
||||
gst_query_add_allocation_meta (query, GST_META_API_VIDEO);
|
||||
gst_query_add_allocation_meta (query, GST_META_API_VIDEO_CROP);
|
||||
|
||||
gst_object_unref (pool);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user