From 5b116489418d16df3b68d9eb20a5af03ca8b35b2 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 25 May 2011 13:26:54 +0000 Subject: [PATCH] * morituri/common/gstreamer.py: Add debugging about audioparsers removal. --- ChangeLog | 5 +++++ morituri/common/gstreamer.py | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2c2124f..650fb49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-25 Thomas Vander Stichele + + * morituri/common/gstreamer.py: + Add debugging about audioparsers removal. + 2011-05-25 Thomas Vander Stichele * morituri/common/gstreamer.py: diff --git a/morituri/common/gstreamer.py b/morituri/common/gstreamer.py index afee756..5d2b119 100644 --- a/morituri/common/gstreamer.py +++ b/morituri/common/gstreamer.py @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License # along with morituri. If not, see . -from morituri.common import common, task +from morituri.common import common, task, log class GstException(Exception): def __init__(self, gerror, debug): @@ -180,9 +180,13 @@ def removeAudioParsers(): if not plugin: return + log.debug('gstreamer', 'Found audioparsers plugin from %s %s', + plugin.get_source(), plugin.get_version()) + if plugin.get_source() == 'gst-plugins-good' \ and plugin.get_version() > '0.10.29.1': return # always remove from bad + log.debug('gstreamer', 'removing audioparsers plugin from registry') registry.remove_plugin(plugin)