mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
voaacenc: Add NULL terminator to gst_structure_new()
This commit is contained in:
parent
41bb35f38c
commit
adb3ac9237
1 changed files with 2 additions and 1 deletions
|
@ -314,7 +314,8 @@ gst_voaacenc_generate_sink_caps (void)
|
|||
"depth", G_TYPE_INT, 16,
|
||||
"signed", G_TYPE_BOOLEAN, TRUE,
|
||||
"endianness", G_TYPE_INT, G_BYTE_ORDER,
|
||||
"rate", GST_TYPE_INT_RANGE, 8000, 96000, "channels", G_TYPE_INT, i + 1);
|
||||
"rate", GST_TYPE_INT_RANGE, 8000, 96000, "channels", G_TYPE_INT, i + 1,
|
||||
NULL);
|
||||
|
||||
gst_structure_set_value (structure, "channel-positions", &chanpos);
|
||||
g_value_unset (&chanpos);
|
||||
|
|
Loading…
Reference in a new issue