GNOME Bugzilla – Bug 787616
glupload: add crop meta support in dmafd uploader
Last modified: 2018-06-06 19:52:58 UTC
dmafd upload can import video crop. So need get the input videocrop and update videoinfo
Created attachment 359694 [details] [review] glupload: add crop meta support in dmafd uploader
Review of attachment 359694 [details] [review]: ::: gst-libs/gst/gl/gstglupload.c @@ +737,3 @@ + if (crop) { + in_info->width = MIN (crop->width, in_info->width); + in_info->height = MIN (crop->height, in_info->height); And what if x,y is non-zero ?
Any reply for this review comment ?
(In reply to Nicolas Dufresne (stormer) from comment #3) > Any reply for this review comment ? it is a bit little complicated for x,y. Do you have any ideal?
(In reply to Haihua Hu from comment #4) > (In reply to Nicolas Dufresne (stormer) from comment #3) > > Any reply for this review comment ? > > it is a bit little complicated for x,y. Do you have any ideal? Well, GstVideoCropMeta is all about this x,y and the fact it's possibly not aligned with the sub-sampling. Otherwise you can use GstVideoAligment really, the GL pool supports that pretty well.
Review of attachment 359694 [details] [review]: That's incomplete in regard to what GstVideoCropMeta is.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!