diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-08-13 22:52:51 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-08-13 22:52:51 +0000 |
commit | 6a58d22b5d7b56a171d24328b8a965771e7947e6 (patch) | |
tree | 72b539d291b14a5498032789532f6fd2a8f09d56 /src | |
parent | feba733ea7f95e0689efbc2b8d3810b96fa18429 (diff) |
change rank, to make sure we're preferred over alsa
git-svn-id: file:///home/lennart/svn/public/gst-pulse/trunk@57 bb39ca4e-bce3-0310-b5d4-eea78a553289
Diffstat (limited to 'src')
-rw-r--r-- | src/plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin.c b/src/plugin.c index be52b32..3207fbc 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -31,10 +31,10 @@ GST_DEBUG_CATEGORY(pulse_debug); static gboolean plugin_init(GstPlugin* plugin) { - if (!gst_element_register(plugin, "pulsesink", GST_RANK_SECONDARY-1, GST_TYPE_PULSESINK)) + if (!gst_element_register(plugin, "pulsesink", GST_RANK_PRIMARY+10, GST_TYPE_PULSESINK)) return FALSE; - if (!gst_element_register(plugin, "pulsesrc", GST_RANK_SECONDARY-1, GST_TYPE_PULSESRC)) + if (!gst_element_register(plugin, "pulsesrc", GST_RANK_PRIMARY+10, GST_TYPE_PULSESRC)) return FALSE; if (!gst_element_register(plugin, "pulsemixer", GST_RANK_NONE, GST_TYPE_PULSEMIXER)) |