dshowvideosink: lower rank of the DirectShow video sink plugin

d3dvideosink should have a higher rank as it works better.
This commit is contained in:
Andoni Morales Alastruey 2012-05-03 23:51:14 +02:00 committed by Sebastian Dröge
parent 30c83758c4
commit 74f5ded1b8

View file

@ -1932,7 +1932,7 @@ plugin_init (GstPlugin * plugin)
{
/* PRIMARY: this is the best videosink to use on windows */
if (!gst_element_register (plugin, "dshowvideosink",
GST_RANK_PRIMARY, GST_TYPE_DSHOWVIDEOSINK))
GST_RANK_SECONDARY, GST_TYPE_DSHOWVIDEOSINK))
return FALSE;
return TRUE;