mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
x11: let upstream know we support cropping
This commit is contained in:
parent
df94f2da81
commit
dd7e605fec
2 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue