From bd8b25f08b7c0e2d89bd05fcd6b35db50154b9a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 4 Jun 2015 11:52:40 +0200 Subject: [PATCH] opusparse: Set up default header with 48kHz sample rate instead of 0 --- ext/opus/gstopusparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opus/gstopusparse.c b/ext/opus/gstopusparse.c index c8aba11fec..71f0639909 100644 --- a/ext/opus/gstopusparse.c +++ b/ext/opus/gstopusparse.c @@ -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); }