rygel r757 - trunk/src/rygel



Author: zeeshanak
Date: Sat Mar 28 00:45:26 2009
New Revision: 757
URL: http://svn.gnome.org/viewvc/rygel?rev=757&view=rev

Log:
MP3TrancoderBin doesn't need to keep layer info.

Modified:
   trunk/src/rygel/rygel-mp3-transcoder.vala

Modified: trunk/src/rygel/rygel-mp3-transcoder.vala
==============================================================================
--- trunk/src/rygel/rygel-mp3-transcoder.vala	(original)
+++ trunk/src/rygel/rygel-mp3-transcoder.vala	Sat Mar 28 00:45:26 2009
@@ -55,14 +55,11 @@
     private const string AUDIO_SINK_PAD = "audio-sink-pad";
 
     private dynamic Element audio_enc;
-    private MP3Layer layer;
 
     public MP3TranscoderBin (Element src, MP3Layer layer) throws Error {
-        this.layer = layer;
-
         Element decodebin = TranscoderBin.create_element (DECODEBIN, DECODEBIN);
 
-        this.audio_enc = MP3TranscoderBin.create_encoder (this.layer,
+        this.audio_enc = MP3TranscoderBin.create_encoder (layer,
                                                           AUDIO_SRC_PAD,
                                                           AUDIO_SINK_PAD);
 



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