Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-bad gst-plugins-bad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 986
    • Issues 986
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 132
    • Merge requests 132
  • 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-badgst-plugins-bad
  • Issues
  • #1428

Closed
Open
Created Oct 16, 2020 by Jan Schmidt@thaytanMaintainer

srt: Weird double-up in pbkeylen enum

There's a duplicate 0 entry in the GstSRTKeyLength enum that seems unnecessary and is publically exposed in the pbkeylen property of the SRT elements:

/**
 * GstSRTKeyLengthBits:
 * @GST_SRT_KEY_LENGTH_NO_KEY: no encryption
 * @GST_SRT_KEY_LENGTH_0: no encryption
 * @GST_SRT_KEY_LENGTH_16: 16 bytes (128-bit) length
 * @GST_SRT_KEY_LENGTH_24: 24 bytes (192-bit) length
 * @GST_SRT_KEY_LENGTH_32: 32 bytes (256-bit) length
 *
 * Crypto key length in bits
 */
typedef enum
{
  GST_SRT_KEY_LENGTH_NO_KEY = 0,
  GST_SRT_KEY_LENGTH_0 = GST_SRT_KEY_LENGTH_NO_KEY,
  GST_SRT_KEY_LENGTH_16 = 16,
  GST_SRT_KEY_LENGTH_24 = 24,
  GST_SRT_KEY_LENGTH_32 = 32,
} GstSRTKeyLength;
Assignee
Assign to
Time tracking