mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
Constify some static arrays everywhere
This commit is contained in:
parent
aa0c5c2a84
commit
db8ee7e7e0
1 changed files with 3 additions and 3 deletions
|
@ -113,7 +113,7 @@ static GType
|
||||||
gst_two_lame_mode_get_type (void)
|
gst_two_lame_mode_get_type (void)
|
||||||
{
|
{
|
||||||
static GType two_lame_mode_type = 0;
|
static GType two_lame_mode_type = 0;
|
||||||
static GEnumValue two_lame_modes[] = {
|
static const GEnumValue two_lame_modes[] = {
|
||||||
{TWOLAME_AUTO_MODE, "Auto", "auto"},
|
{TWOLAME_AUTO_MODE, "Auto", "auto"},
|
||||||
{TWOLAME_STEREO, "Stereo", "stereo"},
|
{TWOLAME_STEREO, "Stereo", "stereo"},
|
||||||
{TWOLAME_JOINT_STEREO, "Joint Stereo", "joint"},
|
{TWOLAME_JOINT_STEREO, "Joint Stereo", "joint"},
|
||||||
|
@ -134,7 +134,7 @@ static GType
|
||||||
gst_two_lame_padding_get_type (void)
|
gst_two_lame_padding_get_type (void)
|
||||||
{
|
{
|
||||||
static GType two_lame_padding_type = 0;
|
static GType two_lame_padding_type = 0;
|
||||||
static GEnumValue two_lame_padding[] = {
|
static const GEnumValue two_lame_padding[] = {
|
||||||
{TWOLAME_PAD_NO, "No Padding", "never"},
|
{TWOLAME_PAD_NO, "No Padding", "never"},
|
||||||
{TWOLAME_PAD_ALL, "Always Pad", "always"},
|
{TWOLAME_PAD_ALL, "Always Pad", "always"},
|
||||||
{0, NULL, NULL}
|
{0, NULL, NULL}
|
||||||
|
@ -152,7 +152,7 @@ static GType
|
||||||
gst_two_lame_emphasis_get_type (void)
|
gst_two_lame_emphasis_get_type (void)
|
||||||
{
|
{
|
||||||
static GType two_lame_emphasis_type = 0;
|
static GType two_lame_emphasis_type = 0;
|
||||||
static GEnumValue two_lame_emphasis[] = {
|
static const GEnumValue two_lame_emphasis[] = {
|
||||||
{TWOLAME_EMPHASIS_N, "No emphasis", "none"},
|
{TWOLAME_EMPHASIS_N, "No emphasis", "none"},
|
||||||
{TWOLAME_EMPHASIS_5, "50/15 ms", "5"},
|
{TWOLAME_EMPHASIS_5, "50/15 ms", "5"},
|
||||||
{TWOLAME_EMPHASIS_C, "CCIT J.17", "ccit"},
|
{TWOLAME_EMPHASIS_C, "CCIT J.17", "ccit"},
|
||||||
|
|
Loading…
Reference in a new issue