rygel r695 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r695 - trunk/src/rygel
- Date: Sat, 21 Mar 2009 13:54:52 +0000 (UTC)
Author: zeeshanak
Date: Sat Mar 21 13:54:51 2009
New Revision: 695
URL: http://svn.gnome.org/viewvc/rygel?rev=695&view=rev
Log:
Audio encoder can be added to the bin earlier.
No need to wait for decodebin pad availability before audio encoder could
be added to the bin.
Modified:
trunk/src/rygel/rygel-mp2-transcoder.vala
Modified: trunk/src/rygel/rygel-mp2-transcoder.vala
==============================================================================
--- trunk/src/rygel/rygel-mp2-transcoder.vala (original)
+++ trunk/src/rygel/rygel-mp2-transcoder.vala Sat Mar 21 13:54:51 2009
@@ -41,7 +41,7 @@
this.audio_enc = this.create_audio_encoder ();
- this.add_many (src, decodebin);
+ this.add_many (src, decodebin, this.audio_enc);
src.link (decodebin);
var src_pad = this.audio_enc.get_static_pad (AUDIO_SRC_PAD);
@@ -58,8 +58,6 @@
return;
}
- this.add_many (this.audio_enc);
-
if (new_pad.link (enc_pad) != PadLinkReturn.OK) {
this.post_error (new LiveResponseError.LINK (
"Failed to link pad %s to %s",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]