-
Notifications
You must be signed in to change notification settings - Fork 69
Hotfix sync tests #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The enable-sync property test was failing because this property was removed since v1.0.7. The equivalent behaviour of enable-sync=true can be achieved with stream-sync=compensate-ts.
tests/check/gst/test_stream_sync.c
Outdated
| GstPipeline *sink1; | ||
| GstPipeline *sink2; | ||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove extra space
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
tests/check/gst/test_stream_sync.c
Outdated
| GstElement *vtsrc1; | ||
| GstElement *vtsrc2; | ||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove extra space
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
tests/check/gst/test_stream_sync.c
Outdated
| src = | ||
| GST_PIPELINE (gst_parse_launch | ||
| ("interpipesrc name=intersrc listen-to=intersink1 block-switch=false allow-renegotiation=true format=3 ! capsfilter caps=video/x-raw,width=[320,1920],height=[240,1080],framerate=(fraction)5/1 ! " | ||
| ("interpipesrc name=intersrc listen-to=intersink1 stream-sync=compensate-ts block-switch=false allow-renegotiation=true format=3 ! capsfilter caps=video/x-raw,width=[320,1920],height=[240,1080],framerate=(fraction)5/1 ! " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
break the line, maximum 79 characters per line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
| /* Now change to the first video src and pull another buffer */ | ||
| g_object_set (G_OBJECT (intersrc), "listen-to", "intersink1", NULL); | ||
|
|
||
| outsample = gst_app_sink_pull_sample (GST_APP_SINK (asink)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am guessing this test verifies that interpipes can change between sources and keep a monotonically increasing pipeline, am I right? If so, how can you be sure this sample corresponds to the new source? you are not draining the pipeline before changing sources
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
No description provided.