Skip to content

Conversation

@rgonzalezfluendo
Copy link
Contributor

The first commit drops all the references to 1.0 when GStreamer was supported. These references come from when GStreamer 1.0 and the legacy GStreamer 0.10 were supported.

This is a BREAKING CHANGE: Decoder names change, losing the -Gst1.0 prefix.

The second commit adds a workaround to avoid breaking the BC waiting for the next major release.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR modernizes the GStreamer decoder naming by removing legacy version suffixes that originated from when both GStreamer 0.10 and 1.0 were supported. Since only GStreamer 1.0+ is now supported, the -Gst1.0 suffix is no longer meaningful.

Key changes:

  • Decoder names are simplified by removing the -Gst1.0 suffix (BREAKING CHANGE)
  • A temporary backward compatibility workaround is added to handle old decoder names until version 1.0.0
  • Documentation and references updated to remove "1.0" version specifications

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
fluster/fluster.py Adds backward compatibility logic to strip -gst1.0 suffix from decoder names
fluster/decoders/gstreamer.py Refactors all GStreamer decoder classes, removing version suffixes from names and consolidating base class properties
Makefile Updates test commands to use new decoder names without -Gst1.0 suffix

if ctx.decoders_names:
ctx.decoders_names = [x.lower() for x in ctx.decoders_names]
print(ctx.decoders_names)
# Workaound to avoid BC break for prev commit. Delete when 1.0.0
Copy link

Copilot AI Oct 25, 2025

Choose a reason for hiding this comment

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

Corrected spelling of 'Workaound' to 'Workaround'.

Suggested change
# Workaound to avoid BC break for prev commit. Delete when 1.0.0
# Workaround to avoid BC break for prev commit. Delete when 1.0.0

Copilot uses AI. Check for mistakes.
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