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 performing the state change.
- PAUSED -> PLAYING:
- calculate the running_time when the pipeline was PAUSED.
- READY -> NULL:
- set the bus t
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 performing the state change.
- PAUSED -> PLAYING:
- calculate the running_time when the pipeline was PAUSED.
- READY -> NULL:
- set the bus t