oss: Downgrade the rank of osssrc to SECONDARY

which is the same rank as osssink has.

Fixes bug #597730.
This commit is contained in:
Sjoerd Simons 2009-10-07 21:51:38 +01:00 committed by Sebastian Dröge
parent 6362551c50
commit 8b9799aeb1

View file

@ -35,7 +35,7 @@ plugin_init (GstPlugin * plugin)
{ {
if (!gst_element_register (plugin, "ossmixer", GST_RANK_NONE, if (!gst_element_register (plugin, "ossmixer", GST_RANK_NONE,
GST_TYPE_OSS_MIXER_ELEMENT) || GST_TYPE_OSS_MIXER_ELEMENT) ||
!gst_element_register (plugin, "osssrc", GST_RANK_PRIMARY, !gst_element_register (plugin, "osssrc", GST_RANK_SECONDARY,
GST_TYPE_OSS_SRC) || GST_TYPE_OSS_SRC) ||
!gst_element_register (plugin, "osssink", GST_RANK_SECONDARY, !gst_element_register (plugin, "osssink", GST_RANK_SECONDARY,
GST_TYPE_OSSSINK)) { GST_TYPE_OSSSINK)) {