GNOME Bugzilla – Bug 764972
dvbsrc: needlessly perform delivery system autodetection twice
Last modified: 2016-04-16 09:05:56 UTC
Created attachment 325827 [details] [review] dvbsrc: do not autodetect delsys twice By design we open the adapter twice, but performing delsys auto-detection twice too is totally redundant and costly. Attached patch makes auto-detection happen only 1 time but has the downside of (IMHO correctly) posting the _new_element message with the discovered adapter information once too. Might someone out there be relying on this odd behavior? Would that be enough reason to keep doing this twice?
Review of attachment 325827 [details] [review]: Agreed safe on IRC. Pushed as: commit 34d888220c5a4272f4aec3c5eace8ca2328857c4 Author: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> Date: Mon Apr 11 23:45:22 2016 -0700 dvbsrc: do not autodetect delsys twice The process is dealt with the first time the adapter is opened, there is no need to do this again.