Ticket #1831: openmoko-mediaplayer2-performance-workaround.patch

File openmoko-mediaplayer2-performance-workaround.patch, 789 bytes (added by hedora, 11 years ago)

(inappropriatetly named; in 2008, this patch does 'the right thing'; it's was a 'workaround' in 2007.2)

  • src/playback.c

     
    113113                G_TYPE_NONE, 1, G_TYPE_STRING); 
    114114 
    115115        // Create audio sink for PulseAudio 
    116         omp_gst_audiosink = gst_element_factory_make("pulsesink", NULL); 
     116        omp_gst_audiosink = gst_element_factory_make("alsasink", NULL); 
    117117 
    118118        if (!omp_gst_audiosink) 
    119119        { 
    120                 error_dialog_modal(_("Error: gstreamer failed to create the PulseAudio sink.\nPlease make sure gstreamer and its modules are properly installed (esp. gst-plugin-pulse).")); 
     120                error_dialog_modal(_("Error: gstreamer failed to create the ALSA sink.\nPlease make sure gstreamer and its modules are properly installed (esp. gst-plugin-alsa).")); 
    121121 
    122122                return FALSE; 
    123123        }