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

This commit is contained in:
Sebastian Dröge 2015-06-04 11:52:40 +02:00
parent 96ee9b274c
commit bd8b25f08b

View file

@ -359,7 +359,7 @@ gst_opus_parse_parse_frame (GstBaseParse * base, GstBaseParseFrame * frame)
channel_mapping_family = 0; channel_mapping_family = 0;
channel_mapping[0] = 0; channel_mapping[0] = 0;
channel_mapping[1] = 1; 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); channel_mapping_family, channel_mapping, NULL);
} }