Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer gstreamer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 716
    • Issues 716
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 371
    • Merge requests 371
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamergstreamer
  • Merge requests
  • !1625

gstv4l2tuner: return NULL if no norm set

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Rouven Czerwinski requested to merge Emantor/gstreamer:fix/random_norm_if_no_norm into main Feb 02, 2022
  • Overview 3
  • Commits 1
  • Pipelines 7
  • Changes 1

If the video4linux device supports norms but has no norm set, norm is returned as an uninitialized variable after the ioctl call, leading to gst_v4l2_tuner_get_norm_by_std_id() returning a random norm from the supported norms. Catch this case and instead return NULL to indicate that no norm is setup.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix/random_norm_if_no_norm