每一个空间将会创建一个默认的权限。创建空间的用户将会自动具有空间管理员(space admin)的权限,这个的意思是你可以为其他用户和用户组赋予空间访问和管理的权限。在
发送event的函数为 gst_pad_send_event 和 gst_pad_push_event。有些event可以指定为sticky。 pad是element推拉数据的介质,可以通过gst_pad_push和gst_pad_pull_range进行GstBuffer的推拉。一般情况下编写代码都是以plugin为单位,而pad往往作为element的成员变量,因此gst_pad_push和gst_pad_pull_range的入参往往是 ...
如果旧状态是GST_TASK_STARTED,这个注释的解释没有看懂,还要继续琢磨一下,抱歉。 在start_task()函数中,以gst_task_func()函数为参数调用gst_task_pool_push(),gst_task_pool_push()是对default_push()函数的封装。default_push()函数代码如下: staticgpointerdefault_push(GstTaskPool * pool, GstTaskPoolFunc...
Before dataflow is possible on the pads, they need to be activated with gst_pad_set_active. gst_pad_query and gst_pad_peer_query can be used to query various properties of the pad and the stream. To send a GstEvent on a pad, use gst_pad_send_event and gst_pad_push_event. Some ...
underflow:上游element对自己push gstbuffer过慢,当前element可以通过push underflow类型的qos event 给上游,以要求更多的 gstbuffer 输入。 throttle:一个水位值到达的通知类型,这个类型伴随 “throttle-time” 一起使用。 throttle-time 是sink element用来进行 sync的一个机制,可以用来控制每秒钟传入 render 函数的gst...
PUSH MODE下,总是由src pad发起negotiation,为了整出一个src pad和peer sink pad都能接受的caps来,src pad会将自己的caps和peer sink pad的caps做intersect,这时就会调用函数gst_pad_get_caps,参数就是peer sink pad(一般直接使用gst_pad_peer_get_caps函数一步完成)。回顾一下上面gst_pad_get_caps函数的逻辑...
Original commit message from CVS: * gst/gstbuffer.c: (gst_buffer_new_and_alloc): some debugging * gst/gstcaps.h: whitespace fixes * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer): more debugging * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean): * gst...
batched-push-timeout N/A; Streammux config file could be used to regulate output framerate. width N/A; Scaling and color conversion support Deprecated. height N/A; Scaling and color conversion support Deprecated. enable-padding N/A; Scaling and color conversion support Deprecated. gpu-id N/...
batched-push-timeout batched-push-timeout width N/A; Scaling and color conversion support Deprecated. height N/A; Scaling and color conversion support Deprecated. enable-padding N/A; Scaling and color conversion support Deprecated. gpu-id N/A; Accelerated Scaling and color conversion support Dep...
到这里,可以看到,在PUSH模式下,_chain函数返回GST_FLOW_NOT_NEGOTIATED,gstreamer core就会自动为我们调用gst_pad_set_caps;但是在PULL模式下,虽然gst_pad_pull_range也会返回GST_FLOW_NOT_NEGOTIATED,但是gst_pad_set_caps并不会自动被调用,这是因为出于latency的考虑,gstramer不支持在pull thread中做set caps的动...