-
Notifications
You must be signed in to change notification settings - Fork 80
Multiple fixes #741
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
Multiple fixes #741
Conversation
hillwoodroc
commented
Oct 10, 2025
- fix: update function signature for GCC 15 compatibility-
- Fix:(libcam_encoder) Add fallback definitions for FF_PROFILE_* macros
- feat: Support ffmepg 7
|
Hi @hillwoodroc. Thanks for your PR. I'm waiting for a linuxdeepin member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
| /*******************************************************************************# | ||
| # guvcview http://guvcview.sourceforge.net # | ||
| # # | ||
| # Paulo Assis <pj.assis@gmail.com> # |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should be a temporary file and it is recommended to delete it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, have removed it.
Log: Fix build on ffmepg 7
Some older FFmpeg or libav versions do not define FF_PROFILE_* macros. Add conditional definitions to ensure compatibility with AV_PROFILE_* constants, fixing build errors on systems with outdated headers. Log:
The function 'v4l2core_check_device_list_events' signature was updated to accept 'v4l2_dev_t *' parameter instead of having no parameters. Log: This change addresses a breaking compatibility issue introduced in GCC 15, which enforces stricter type checking on function declarations and definitions. Previously, GCC allowed mismatched function declarations and definitions when parameter types differ but ultimately point to the same struct type, such as between 'struct _v4l2_dev_t *' and 'v4l2_dev_t *'. GCC 15's change (see GCC 15 release notes) now treats such mismatches as errors, requiring declarations and definitions to exactly match in parameter types. This patch aligns the declaration with the definition to fix the 'conflicting types' compilation error when building with GCC 15
0e0aa0c to
561ce66
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: hillwoodroc, lzwind The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
* feat: Support ffmepg 7 Log: Fix build on ffmepg 7 * fix:(libcam_encoder) Add fallback definitions for FF_PROFILE_* macros Some older FFmpeg or libav versions do not define FF_PROFILE_* macros. Add conditional definitions to ensure compatibility with AV_PROFILE_* constants, fixing build errors on systems with outdated headers. Log: * fix: update function signature for GCC 15 compatibility The function 'v4l2core_check_device_list_events' signature was updated to accept 'v4l2_dev_t *' parameter instead of having no parameters. Log: This change addresses a breaking compatibility issue introduced in GCC 15, which enforces stricter type checking on function declarations and definitions. Previously, GCC allowed mismatched function declarations and definitions when parameter types differ but ultimately point to the same struct type, such as between 'struct _v4l2_dev_t *' and 'v4l2_dev_t *'. GCC 15's change (see GCC 15 release notes) now treats such mismatches as errors, requiring declarations and definitions to exactly match in parameter types. This patch aligns the declaration with the definition to fix the 'conflicting types' compilation error when building with GCC 15
* feat: Support ffmepg 7 Log: Fix build on ffmepg 7 * fix:(libcam_encoder) Add fallback definitions for FF_PROFILE_* macros Some older FFmpeg or libav versions do not define FF_PROFILE_* macros. Add conditional definitions to ensure compatibility with AV_PROFILE_* constants, fixing build errors on systems with outdated headers. Log: * fix: update function signature for GCC 15 compatibility The function 'v4l2core_check_device_list_events' signature was updated to accept 'v4l2_dev_t *' parameter instead of having no parameters. Log: This change addresses a breaking compatibility issue introduced in GCC 15, which enforces stricter type checking on function declarations and definitions. Previously, GCC allowed mismatched function declarations and definitions when parameter types differ but ultimately point to the same struct type, such as between 'struct _v4l2_dev_t *' and 'v4l2_dev_t *'. GCC 15's change (see GCC 15 release notes) now treats such mismatches as errors, requiring declarations and definitions to exactly match in parameter types. This patch aligns the declaration with the definition to fix the 'conflicting types' compilation error when building with GCC 15
* feat: Support ffmepg 7 Log: Fix build on ffmepg 7 * fix:(libcam_encoder) Add fallback definitions for FF_PROFILE_* macros Some older FFmpeg or libav versions do not define FF_PROFILE_* macros. Add conditional definitions to ensure compatibility with AV_PROFILE_* constants, fixing build errors on systems with outdated headers. Log: * fix: update function signature for GCC 15 compatibility The function 'v4l2core_check_device_list_events' signature was updated to accept 'v4l2_dev_t *' parameter instead of having no parameters. Log: This change addresses a breaking compatibility issue introduced in GCC 15, which enforces stricter type checking on function declarations and definitions. Previously, GCC allowed mismatched function declarations and definitions when parameter types differ but ultimately point to the same struct type, such as between 'struct _v4l2_dev_t *' and 'v4l2_dev_t *'. GCC 15's change (see GCC 15 release notes) now treats such mismatches as errors, requiring declarations and definitions to exactly match in parameter types. This patch aligns the declaration with the definition to fix the 'conflicting types' compilation error when building with GCC 15
* feat: Support ffmepg 7 Log: Fix build on ffmepg 7 * fix:(libcam_encoder) Add fallback definitions for FF_PROFILE_* macros Some older FFmpeg or libav versions do not define FF_PROFILE_* macros. Add conditional definitions to ensure compatibility with AV_PROFILE_* constants, fixing build errors on systems with outdated headers. Log: * fix: update function signature for GCC 15 compatibility The function 'v4l2core_check_device_list_events' signature was updated to accept 'v4l2_dev_t *' parameter instead of having no parameters. Log: This change addresses a breaking compatibility issue introduced in GCC 15, which enforces stricter type checking on function declarations and definitions. Previously, GCC allowed mismatched function declarations and definitions when parameter types differ but ultimately point to the same struct type, such as between 'struct _v4l2_dev_t *' and 'v4l2_dev_t *'. GCC 15's change (see GCC 15 release notes) now treats such mismatches as errors, requiring declarations and definitions to exactly match in parameter types. This patch aligns the declaration with the definition to fix the 'conflicting types' compilation error when building with GCC 15