mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-08 18:25:30 +00:00
livesync: example: Add identities single-segment=1
These let us change the runtime offset of the test buffers via pad offsets without pushing new segments into livesync, which is necessary to demo the late-threshold behavior. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1369>
This commit is contained in:
parent
6633cc4046
commit
ee93448de7
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,7 @@ fn create_pipeline() -> gst::Pipeline {
|
|||
gst::parse_launch(
|
||||
r#"videotestsrc name=vsrc is-live=1
|
||||
! video/x-raw,framerate=60/1,width=800,height=600
|
||||
! identity single-segment=1
|
||||
! timeoverlay text="Pre:"
|
||||
! queue
|
||||
! livesync latency=50000000
|
||||
|
@ -44,6 +45,7 @@ fn create_pipeline() -> gst::Pipeline {
|
|||
! gtk4paintablesink name=vsink
|
||||
audiotestsrc name=asrc is-live=1
|
||||
! audio/x-raw,channels=2
|
||||
! identity single-segment=1
|
||||
! queue
|
||||
! livesync latency=50000000
|
||||
! audiorate
|
||||
|
|
Loading…
Reference in a new issue