Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/28.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用gst\u video\u sink\u center\u rect渲染视频区域?_C_Linux_Gstreamer - Fatal编程技术网

如何使用gst\u video\u sink\u center\u rect渲染视频区域?

如何使用gst\u video\u sink\u center\u rect渲染视频区域?,c,linux,gstreamer,C,Linux,Gstreamer,我想使用gst\u video\u sink\u center\rect让视频渲染我设置的区域。但我不知道如何使用它。只有src和dstrect。我对结果论证感到困惑。这个函数是如何工作的 gst_video_sink_center_rect (GstVideoRectangle src, GstVideoRectangle dst, GstVideoRectangle *result

我想使用
gst\u video\u sink\u center\rect
让视频渲染我设置的区域。但我不知道如何使用它。只有
src
dst
rect。我对结果论证感到困惑。这个函数是如何工作的

gst_video_sink_center_rect (GstVideoRectangle src,
                            GstVideoRectangle dst,
                            GstVideoRectangle *result,
                            gboolean scaling);