[grilo-plugins] shoutcast: set/get operation data is in GrlMetadataSource



commit f78a243e1e4952932131a48b195cce109746e45e
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Tue Apr 5 11:00:34 2011 +0200

    shoutcast: set/get operation data is in GrlMetadataSource
    
    These operations have been moved from GrlMediaSource to
    GrlMetadataSource.
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>

 src/media/shoutcast/grl-shoutcast.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/media/shoutcast/grl-shoutcast.c b/src/media/shoutcast/grl-shoutcast.c
index bca3669..f4bd04f 100644
--- a/src/media/shoutcast/grl-shoutcast.c
+++ b/src/media/shoutcast/grl-shoutcast.c
@@ -715,7 +715,8 @@ grl_shoutcast_source_cancel (GrlMediaSource *source, guint operation_id)
     g_cancellable_cancel (cancellable);
   cancellable = NULL;
 
-  op_data = (OperationData *) grl_media_source_get_operation_data (source, operation_id);
+  op_data =
+    (OperationData *) grl_metadata_source_get_operation_data (GRL_METADATA_SOURCE (source), operation_id);
 
   if (op_data) {
     op_data->cancelled = TRUE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]