Skip to content

Conversation

@jcaballeros
Copy link
Contributor

No description provided.

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.
GstPipeline *sink1;
GstPipeline *sink2;


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove extra space

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

GstElement *vtsrc1;
GstElement *vtsrc2;


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove extra space

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

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 ! "
Copy link
Contributor

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

Copy link
Contributor Author

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));
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@jcaballeros jcaballeros merged commit 94dea52 into master Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants