* morituri/common/gstreamer.py:
Also remove audioparsers if it's in bad.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-05-25 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/common/gstreamer.py:
|
||||
Also remove audioparsers if it's in bad.
|
||||
|
||||
2011-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* configure.ac:
|
||||
|
||||
@@ -177,5 +177,12 @@ def removeAudioParsers():
|
||||
import gst
|
||||
registry = gst.registry_get_default()
|
||||
plugin = registry.find_plugin("audioparsers")
|
||||
if plugin and plugin.get_version() <= '0.10.29.1':
|
||||
registry.remove_plugin(plugin)
|
||||
if not plugin:
|
||||
return
|
||||
|
||||
if plugin.get_source() == 'gst-plugins-good' \
|
||||
and plugin.get_version() > '0.10.29.1':
|
||||
return
|
||||
|
||||
# always remove from bad
|
||||
registry.remove_plugin(plugin)
|
||||
|
||||
Reference in New Issue
Block a user