Skip to content
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

RDI-2056 #52

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

RDI-2056 #52

wants to merge 2 commits into from

Conversation

cfoch
Copy link
Contributor

@cfoch cfoch commented Oct 21, 2024

No description provided.

Copy link
Contributor

@aslobodeniuk aslobodeniuk left a comment

Choose a reason for hiding this comment

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

asked few questions to confirm

@@ -37,6 +38,9 @@ gboolean gst_web_utils_element_handle_context_query (
GstElement *element, GstQuery *query, GstWebCanvas *canvas);
gboolean gst_web_utils_element_set_context (
GstElement *element, GstContext *context, GstWebCanvas **canvas);
GstVideoFormat gst_web_utils_convert_video_frame_format (
Copy link
Contributor

Choose a reason for hiding this comment

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

Try to use the "namespace" of the object first after utlils, instead of the verb. For example, gst_web_utils_video_format_from_web_format, or gst_web_utils_video_format_from_string, etc.

Copy link
Contributor

Choose a reason for hiding this comment

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

@cfoch This isnt solved yet.
CC: @aslobodeniuk

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I only fixed the specific line, but now I have fixed the line below, too.

init_pipeline ()
{
pipeline =
gst_parse_launch ("webfetchsrc location=" DEFAULT_URL " ! "
Copy link
Contributor

Choose a reason for hiding this comment

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

webstreamsrc have been merged, and I would say it should be preferred to webfetchsrc, because it downloads the data in a smoother way. Without a queue in the pipeline the playback will be more smooth.

@cfoch cfoch force-pushed the RDI-2056 branch 2 times, most recently from 2d1d8ce to 34dcb85 Compare November 5, 2024 09:04
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.

3 participants