Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-good gst-plugins-good
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 648
    • Issues 648
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 82
    • Merge requests 82
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-plugins-goodgst-plugins-good
  • Issues
  • #640

Closed
Open
Created Aug 09, 2019 by Michael Rodin@michaelrodin

v4l2src: Does not save brightness/hue/contrast/saturation values when in NULL state

v4l2src sets the properties PROP_BRIGHTNESS, PROP_CONTRAST, PROP_SATURATION and PROP_HUE in

gst_v4l2src_set_property() -> gst_v4l2_object_set_property_helper() -> gst_v4l2_set_attribute()

via VIDIOC_S_CTRL. It is required that the video device is already opened and v4l2object->video_fd is valid. But video device is opened too late in

gst_v4l2src_change_state() -> gst_v4l2_object_open() -> gst_v4l2_open()

during the state transition from NULL to READY. Therefore setting of the mentioned properties always fails. Unfortunately I could not switch to the latest gstreamer version to verify this but the code looks very similar so the issue should still exist. Can somebody confirm this?

Edited Aug 09, 2019 by Nicolas Dufresne
Assignee
Assign to
Time tracking