[rygel/rygel-0-20] renderer: Use proper error-code on wrong seek
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-20] renderer: Use proper error-code on wrong seek
- Date: Mon, 14 Oct 2013 10:12:02 +0000 (UTC)
commit bb3ed1224068fc2d0db72ceb1b204945720e0263
Author: Jens Georg <jensg openismus com>
Date: Mon Sep 30 11:23:55 2013 +0200
renderer: Use proper error-code on wrong seek
We were using 710 (Illegal seek mode) instead of the correct 711 (Illegal
seek target)
This fixes 7.3.157.9
https://bugzilla.gnome.org/show_bug.cgi?id=709077
src/librygel-renderer/rygel-av-transport.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-av-transport.vala b/src/librygel-renderer/rygel-av-transport.vala
index ebd945e..252798b 100644
--- a/src/librygel-renderer/rygel-av-transport.vala
+++ b/src/librygel-renderer/rygel-av-transport.vala
@@ -595,7 +595,7 @@ internal class Rygel.AVTransport : Service {
debug ("Seeking to %s.", target);
if (!this.player.seek (TimeUtils.time_from_string (target))) {
- action.return_error (710, _("Seek mode not supported"));
+ action.return_error (711, _("Illegal seek target"));
return;
}
@@ -610,7 +610,7 @@ internal class Rygel.AVTransport : Service {
TimeUtils.time_from_string (target);
if (!this.player.seek (seek_target)) {
- action.return_error (710, _("Seek mode not supported"));
+ action.return_error (711, _("Illegal seek target"));
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]