Skip to content

fix: pixel format bug#21

Merged
RmSchaffert merged 1 commit into
NVIDIA:mainfrom
xupinjie:pinjie/fix_pix_format_bug
May 20, 2026
Merged

fix: pixel format bug#21
RmSchaffert merged 1 commit into
NVIDIA:mainfrom
xupinjie:pinjie/fix_pix_format_bug

Conversation

@xupinjie
Copy link
Copy Markdown
Collaborator

@xupinjie xupinjie commented May 19, 2026

Description

A memory error occurred when decoding yuv420p10le video because the dependent FFmpeg build lacked H.264/HEVC support. This bug was fixed by adding a function to parse the video pixel format. Later, the warning "ChromaFormat not recognized. Assuming 420" was also resolved.

Type of Change

Please select (at least one):

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation / examples / tutorials / demos
  • Supporting functionality change (fix or feature in documentation generation, helper scripts, ...)
  • Refactoring / internal change
  • Other (please describe):

Testing

Checklist for testing:

  • Tests added or updated if/as needed
  • Repository test runner executed: scripts/run_tests.sh

Optionally, add a brief description.

Documentation, Examples, Tutorials, Demos

Checklist for documentation:

  • User-facing documentation updated if/as needed (including API docs)
  • Examples / tutorials / demos updated or added (if relevant)
  • Limitations and constraints documented (if relevant)
  • Performance documented (if relevant)
  • Documentation building successful & checks outlined in the Documentation Checks section of the Contribution Guide are performed

Optionally, add a brief description.

Code Quality

Checklist for dependencies:

  • Dependencies updated in the relevant pyproject.toml if/as needed
  • Code formatted according to the Code Formatting Guide

Optionally, add a brief description.

Related Issues / Context

If applicable, link related issues, discussions etc.


DCO / Sign-Off

Please refer to the section on Signing Your Work & Developer Certificate of Origin (DCO)
in the Contribution Guide before submitting your contribution.

References

For additional details, please refer to the Contribution Guide.
The following guides are available (referenced in the Contribution Guide for further details):

Please also refer to the summary checklist in the Contribution Guide,
which is a guideline for what to consider when submitting your contribution and covers the same topics as the checklists above.

@xupinjie xupinjie requested a review from RmSchaffert May 19, 2026 13:08
@xupinjie xupinjie self-assigned this May 19, 2026
@xupinjie xupinjie marked this pull request as ready for review May 19, 2026 13:08
@RmSchaffert
Copy link
Copy Markdown
Collaborator

/build

@xupinjie xupinjie changed the title Pinjie/fix pix format bug fix pixel format bug May 19, 2026
@xupinjie xupinjie changed the title fix pixel format bug fix: pixel format bug May 19, 2026
@RmSchaffert
Copy link
Copy Markdown
Collaborator

/build

@xupinjie xupinjie force-pushed the pinjie/fix_pix_format_bug branch from 0c7dba5 to 1c885b8 Compare May 20, 2026 08:14
RmSchaffert
RmSchaffert previously approved these changes May 20, 2026
@RmSchaffert RmSchaffert dismissed their stale review May 20, 2026 08:41

Please add sign-offs to all the commits in this PR

@xupinjie xupinjie force-pushed the pinjie/fix_pix_format_bug branch from 1c885b8 to 0358d64 Compare May 20, 2026 09:23
@xupinjie
Copy link
Copy Markdown
Collaborator Author

Already -s -S, thx.

Copy link
Copy Markdown
Collaborator

@RmSchaffert RmSchaffert left a comment

Choose a reason for hiding this comment

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

Thank you!

@RmSchaffert RmSchaffert merged commit 3fa40d0 into NVIDIA:main May 20, 2026
@RmSchaffert
Copy link
Copy Markdown
Collaborator

/build

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