flacparse: trivial caps fix

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras 2010-08-02 20:50:21 +03:00 committed by Tim-Philipp Müller
parent 4cc901ed96
commit eaa6f789b2

View file

@ -1106,6 +1106,7 @@ gst_flac_parse_handle_headers (GstFlacParse * flacparse)
caps = gst_caps_new_simple ("audio/x-flac",
"channels", G_TYPE_INT, flacparse->channels,
"framed", G_TYPE_BOOLEAN, TRUE,
"rate", G_TYPE_INT, flacparse->samplerate, NULL);
if (!flacparse->headers)