opusparse: Set up default header with 48kHz sample rate instead of 0
This commit is contained in:
parent
96ee9b274c
commit
bd8b25f08b
@ -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…
x
Reference in New Issue
Block a user