From c5821c92f44e85c81a495c5f790c5f7c6aa43850 Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Wed, 26 Oct 2011 14:57:06 +0200 Subject: [PATCH] core: Unbreak compilation with valac-0.12 --- src/rygel/rygel-transcoder.vala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/rygel/rygel-transcoder.vala b/src/rygel/rygel-transcoder.vala index e7a92c9..ea28322 100644 --- a/src/rygel/rygel-transcoder.vala +++ b/src/rygel/rygel-transcoder.vala @@ -193,13 +193,14 @@ internal abstract class Rygel.Transcoder : GLib.Object { return; } + private const string description = "Encoder and decoder are not " + + "compatible"; + private void on_no_more_pads (Element decodebin) { // We haven't found any pads we could link if (this.link_failed) { // Signalize that error var bin = this.encoder.get_parent () as Bin; - const string description = "Encoder and decoder are not " + - "compatible"; var error = new IOError.FAILED ("Could not link"); var message = new Message.error (bin, error, -- 2.7.4