* morituri/common/gstreamer.py:

Add debugging about audioparsers removal.
This commit is contained in:
Thomas Vander Stichele
2011-05-25 13:26:54 +00:00
parent ef56a14dc0
commit 5b11648941
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2011-05-25 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/common/gstreamer.py:
Add debugging about audioparsers removal.
2011-05-25 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/common/gstreamer.py:

View File

@@ -20,7 +20,7 @@
# You should have received a copy of the GNU General Public License
# along with morituri. If not, see <http://www.gnu.org/licenses/>.
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)