Skip to content

Conversation

@hillwoodroc
Copy link
Contributor

  • fix: update function signature for GCC 15 compatibility-
  • Fix:(libcam_encoder) Add fallback definitions for FF_PROFILE_* macros
  • feat: Support ffmepg 7

@deepin-ci-robot
Copy link

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions 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> #
Copy link
Contributor

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

Copy link
Contributor Author

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
@deepin-ci-robot
Copy link

[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.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lzwind lzwind merged commit c8753e4 into linuxdeepin:release/eagle Oct 11, 2025
5 of 6 checks passed
add-uos pushed a commit to add-uos/deepin-screen-recorder that referenced this pull request Dec 17, 2025
* 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
add-uos pushed a commit to add-uos/deepin-screen-recorder that referenced this pull request Dec 17, 2025
* 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
add-uos pushed a commit to add-uos/deepin-screen-recorder that referenced this pull request Dec 17, 2025
* 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
deepin-bot bot pushed a commit that referenced this pull request Dec 17, 2025
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants