Ignore:
Timestamp:
12/21/14 10:20:57 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Fixed the handling of the Gst library with PyGTK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/sound.py

    r576 r585  
    182182    import time
    183183    try:
    184         from common import gst, gobject, gst_element_factory_make
     184        from common import gst_init, gobject, gst_element_factory_make
    185185        from common import GST_STATE_PLAYING, GST_MESSAGE_EOS
    186186
     
    191191            """Initialize the sound handling with the given directory containing
    192192            the sound files."""
    193             gst.init()
     193            gst_init()
    194194            global _soundsDirectory
    195195            _soundsDirectory = soundsDirectory
Note: See TracChangeset for help on using the changeset viewer.