Commit bd8b25f0 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

opusparse: Set up default header with 48kHz sample rate instead of 0

parent 96ee9b27
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment