mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
opusparse: Set up default header with 48kHz sample rate instead of 0
This commit is contained in:
parent
96ee9b274c
commit
bd8b25f08b
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ gst_opus_parse_parse_frame (GstBaseParse * base, GstBaseParseFrame * frame)
|
|||
channel_mapping_family = 0;
|
||||
channel_mapping[0] = 0;
|
||||
channel_mapping[1] = 1;
|
||||
gst_opus_header_create_caps (&caps, &parse->headers, channels, 1, 0,
|
||||
gst_opus_header_create_caps (&caps, &parse->headers, channels, 1, 48000,
|
||||
channel_mapping_family, channel_mapping, NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue