~ubuntu-branches/debian/jessie/banshee-community-extensions/jessie

« back to all changes in this revision

Viewing changes to src/LastfmFingerprint/liblastfmfpbridge/gst-lastfmfpbridge.cpp

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2011-09-20 18:45:46 UTC
  • mfrom: (1.2.9 upstream) (5.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20110920184546-3ahue2qplydc4t0e
Tags: 2.2.0-1
* [4940fab] Imported Upstream version 2.2.0
  + Notable bug fixes:
    - Karaoke: Fix crash when switching to Now Playing
    - Lyrics: Fix crash when switching to Now Playing

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
static void
189
189
Lastfmfp_cb_have_data(GstElement *element, GstBuffer *buffer, GstPad *pad, LastfmfpAudio *ma)
190
190
{
191
 
    gint buffersamples;
192
 
    gint bufferpos;
193
 
    gint i;
194
 
    gint j;
195
 
    gint fill;
196
 
 
197
191
    // if data continues to flow/EOS is not yet processed
198
192
    if (ma->quit)
199
193
        return;
232
226
Lastfmfp_initialize(gint seconds)
233
227
{
234
228
    LastfmfpAudio *ma;
235
 
    gint i;
236
 
 
237
229
    
238
230
    ma = g_new0(LastfmfpAudio, 1);
239
231
    ma->seconds = seconds;