Changeset 488


Ignore:
Timestamp:
25-05-11 10:26:23 (2 years ago)
Author:
thomas
Message:
  • morituri/common/gstreamer.py: Also remove audioparsers if it's in bad.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r487 r488  
     12011-05-25  Thomas Vander Stichele  <thomas at apestaart dot org> 
     2 
     3        * morituri/common/gstreamer.py: 
     4          Also remove audioparsers if it's in bad. 
     5 
    162011-05-24  Thomas Vander Stichele  <thomas at apestaart dot org> 
    27 
  • trunk/morituri/common/gstreamer.py

    r486 r488  
    178178    registry = gst.registry_get_default() 
    179179    plugin = registry.find_plugin("audioparsers") 
    180     if plugin and plugin.get_version() <= '0.10.29.1': 
    181         registry.remove_plugin(plugin) 
     180    if not plugin: 
     181        return 
     182 
     183    if plugin.get_source() == 'gst-plugins-good' \ 
     184        and plugin.get_version() > '0.10.29.1': 
     185        return 
     186 
     187    # always remove from bad 
     188    registry.remove_plugin(plugin) 
Note: See TracChangeset for help on using the changeset viewer.