Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gst-plugins-base gst-plugins-base
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 642
    • Issues 642
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 79
    • Merge requests 79
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and 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

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • GStreamerGStreamer
  • gst-plugins-basegst-plugins-base
  • Merge requests
  • !1236

glupload: Filter formats by GL context support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Rafał Dzięgiel requested to merge Rafostar/gst-plugins-base:glupload-filter-formats into master Jul 31, 2021
  • Overview 3
  • Commits 2
  • Pipelines 2
  • Changes 4

Check which formats are supported by used GL context and filter them. This makes videoconvert always choose one of the supported by user hardware formats.

This MR moves supported GL formats init from glcolorconvert into private header, so it can be reused in glupload without duplicating code.

This change makes below pipeline work:

MESA_GLES_VERSION_OVERRIDE=2.0 GST_GL_API=gles2 gst-launch-1.0 videotestsrc ! video/x-raw,format=I420_10LE ! videoconvert ! glupload ! glcolorconvert ! glimagesinkelement
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: glupload-filter-formats