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

Fix: Framerate parsing in gst mtl plugins #1063

Merged
merged 5 commits into from
Feb 6, 2025

Conversation

Sakoram
Copy link
Collaborator

@Sakoram Sakoram commented Feb 5, 2025

  • Use GST_TYPE_FRACTION as the type for the framerate parameter in the plugins instead of hardcoded enums.
  • Update parameters description in README
  • Remove fps parameter from gst_mtl_st20p_tx, gst_mtl_st30p_tx, gst_mtl_st30p_rx

This fixes fractional fps support

Use GST_TYPE_FRACTION as the type for the framerate parameter in the
plugins instead of hardcoded enums.

Signed-off-by: Kasiewicz, Marek <[email protected]>
Copy link
Collaborator

@DawidWesierski4 DawidWesierski4 left a comment

Choose a reason for hiding this comment

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

Please before merging add the changes to the README.md

Also to the commit message add the information about removing the dead fps code from st30 adjusting the tests
Add the information that we will support fractial fps after this pr

all of which are the scope of this PR

Great work LGTM

ecosystem/gstreamer_plugin/gst_mtl_st20p_tx.c Show resolved Hide resolved
Update: parameters description in README

Signed-off-by: Kasiewicz, Marek <[email protected]>
Copy link
Collaborator

@DawidWesierski4 DawidWesierski4 left a comment

Choose a reason for hiding this comment

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

LGTM
Great pr <3

@Sakoram Sakoram enabled auto-merge (squash) February 6, 2025 12:07
@Sakoram Sakoram merged commit f53dd3a into OpenVisualCloud:main Feb 6, 2025
26 checks passed
Sakoram added a commit to Sakoram/Media-Transport-Library that referenced this pull request Feb 6, 2025
- Use GST_TYPE_FRACTION as the type for the framerate parameter in the
plugins instead of hardcoded enums.
- Update parameters description in README
- Remove fps parameter from gst_mtl_st20p_tx, gst_mtl_st30p_tx,
gst_mtl_st30p_rx

This fixes fractional fps support

---------

Signed-off-by: Kasiewicz, Marek <[email protected]>
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.

2 participants