[rygel] engine-gst: Fix typo



commit 8cbb07498420b7e97147ee9d6fc1533a57d427ff
Author: Jens Georg <mail jensge org>
Date:   Fri Apr 24 19:43:04 2015 +0200

    engine-gst: Fix typo
    
    Signed-off-by: Jens Georg <mail jensge org>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748410

 .../gstreamer/rygel-gst-data-source.vala           |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/media-engines/gstreamer/rygel-gst-data-source.vala 
b/src/media-engines/gstreamer/rygel-gst-data-source.vala
index d08f9ec..30eec8e 100644
--- a/src/media-engines/gstreamer/rygel-gst-data-source.vala
+++ b/src/media-engines/gstreamer/rygel-gst-data-source.vala
@@ -80,7 +80,7 @@ internal class Rygel.GstDataSource : Rygel.DataSource, GLib.Object {
                     seek_response.start_byte, seek_response.end_byte);
             response_list.add(seek_response);
             // Supported - and no reponse values required...
-        } else if (seek is HTTPTimeSeekRequest) {
+        } else if (seek_request is HTTPTimeSeekRequest) {
             var time_seek = seek_request as HTTPTimeSeekRequest;
             // Set the effective TimeSeekRange response range to the requested range
             // TODO: Align this with actual time range being returned
@@ -91,7 +91,8 @@ internal class Rygel.GstDataSource : Rygel.DataSource, GLib.Object {
         } else {
             // Unknown/unsupported seek type
             throw new DataSourceError.SEEK_FAILED
-                                    (_("HTTPSeekRequest type unsupported"));
+                                    (_("HTTPSeekRequest type %s unsupported"),
+                                     seek_request.get_type (). name ());
         }
 
         this.seek = seek_request;


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