opusparse: Set up default header with 48kHz sample rate instead of 0
authorSebastian Dröge <sebastian@centricular.com>
Thu, 4 Jun 2015 09:52:40 +0000 (11:52 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 4 Jun 2015 09:52:40 +0000 (11:52 +0200)
ext/opus/gstopusparse.c

index c8aba11..71f0639 100644 (file)
@@ -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);
     }