Show
Ignore:
Timestamp:
09/02/06 15:26:58 (6 years ago)
Author:
ath
Message:

Fix seeking-while-stopped.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • fm_server/trunk/src/fm_input_gst/gstfmsink.c

    r107 r108  
    313313        FmInputGstCommon *common = sink->common; 
    314314 
    315         if (common->stop_processing) 
     315        if (common->stop_processing || (sink->seek_in_progress && !sink->seek_completed)) 
    316316                return GST_FLOW_OK; 
    317317 
     
    395395 
    396396                                g_idle_add_full (G_PRIORITY_HIGH, seek_helper, (gpointer) sink, NULL); 
     397                                return GST_FLOW_OK; 
    397398                        } 
    398399