GstPipeline管道 翻译自part-gstpipeline.txt
GstPipeline
------------------------------
GstPipeline是一个顶级的bin,给所有的子元素提供时钟。
GstPipeline也提供一个顶级的GstBus。
GstPipeline基于选择的时钟计算running_time。
GstPipeline为管道中的所有元素计算全局的延迟。
State changes
~~~~~~~~~~~~~
除了父类GstBin正常的状态改变过程外,GstPipeline在状态改变过程中还提供如下的动作。
- NULL -> READY:
- set the bus to non-flushing
- READY -> PAUSED:
- reset the running_time to 0
- PAUSED -> PLAYING:
- Select and a clock.
- calculate base_time using the running_time.
- calculate and distribute latency.
- set clock and base_time on all elements before perf
GstPipeline
------------------------------
GstPipeline是一个顶级的bin,给所有的子元素提供时钟。
GstPipeline也提供一个顶级的GstBus。
GstPipeline基于选择的时钟计算running_time。
GstPipeline为管道中的所有元素计算全局的延迟。
State changes
~~~~~~~~~~~~~
除了父类GstBin正常的状态改变过程外,GstPipeline在状态改变过程中还提供如下的动作。
- NULL -> READY:
- set the bus to non-flushing
- READY -> PAUSED:
- reset the running_time to 0
- PAUSED -> PLAYING:
- Select and a clock.
- calculate base_time using the running_time.
- calculate and distribute latency.
- set clock and base_time on all elements before perf

GstPipeline是Gstreamer中的顶级bin,提供时钟和GstBus。在状态改变时,它会进行特定操作,如重置running_time、选择和设置时钟等。时钟选择算法首先考虑应用指定的时钟,其次是上游元素提供的时钟,最后是GstSystemClock。GstPipeline的GstBus允许应用接收元素消息。
最低0.47元/天 解锁文章
1066

被折叠的 条评论
为什么被折叠?



