Skip to content

Conversation

@lukas-lightly
Copy link
Contributor

@lukas-lightly lukas-lightly commented Dec 10, 2025

What has changed and why?

This is an important refactoring, so that we do not access .inner.sample directly at multiple places in the code.

  • It will later allow a generalization, having a common Sample abstract class, e.g. shared with VideoSample.
  • The .inner.sample access would not be allowed in other languages, as it goes directly to the private data.

How has it been tested?

Existing tests

Did you update CHANGELOG.md?

  • Yes
  • Not needed (internal change)

This is an important refactoring, so that we do not access
`.inner.sample` in multiple places in the code.

* It will later allow a generalization, having a common `Sample`
  abstract class, e.g. shared with `VideoSample`.
* The `.inner.sample` access would not be allowed in other languages, as
  it goes directly to the private data.
@lukas-lightly
Copy link
Contributor Author

This PR does most of the cleanup needed for the followup refactoring, see the draft PR #284

@lukas-lightly lukas-lightly merged commit f7c6055 into main Dec 11, 2025
9 checks passed
@lukas-lightly lukas-lightly deleted the lukas-lig-8260-python-interface-introduce-videosample branch December 11, 2025 13:36
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