Forgot to change one application/x-flac to audio/x-flac

Original commit message from CVS:
Forgot to change one application/x-flac to audio/x-flac
This commit is contained in:
Christophe Fergeau 2003-12-08 12:41:02 +00:00
parent ada54a1cdd
commit a5a43a7f61

View file

@ -214,7 +214,7 @@ gst_flacenc_base_init (gpointer g_class)
raw_caps = raw_caps_factory ();
flac_caps = flac_caps_factory ();
sink_template = gst_pad_template_new ("sink", GST_PAD_SINK,
GST_PAD_ALWAYS,
raw_caps, NULL);
@ -369,7 +369,7 @@ gst_flacenc_sinkconnect (GstPad *pad, GstCaps *caps)
gst_caps_get_int (caps, "rate", &flacenc->sample_rate);
caps = GST_CAPS_NEW ("flacenc_srccaps",
"application/x-flac",
"audio/x-flac",
"channels", GST_PROPS_INT (flacenc->channels),
"rate", GST_PROPS_INT (flacenc->sample_rate));
ret = gst_pad_try_set_caps (flacenc->srcpad, caps);