rygel r728 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r728 - trunk/src/rygel
- Date: Sat, 21 Mar 2009 13:57:35 +0000 (UTC)
Author: zeeshanak
Date: Sat Mar 21 13:57:35 2009
New Revision: 728
URL: http://svn.gnome.org/viewvc/rygel?rev=728&view=rev
Log:
Put the encoders in the bin at startup.
Modified:
trunk/src/rygel/rygel-mp2ts-transcoder.vala
Modified: trunk/src/rygel/rygel-mp2ts-transcoder.vala
==============================================================================
--- trunk/src/rygel/rygel-mp2ts-transcoder.vala (original)
+++ trunk/src/rygel/rygel-mp2ts-transcoder.vala Sat Mar 21 13:57:35 2009
@@ -49,7 +49,11 @@
VIDEO_ENC_SINK);
this.muxer = Transcoder.create_element (MUXER, MUXER);
- this.add_many (src, decodebin, this.muxer);
+ this.add_many (src,
+ decodebin,
+ this.audio_enc,
+ this.video_enc,
+ this.muxer);
src.link (decodebin);
var src_pad = muxer.get_static_pad ("src");
@@ -77,7 +81,6 @@
return;
}
- this.add_many (encoder);
encoder.link (this.muxer);
if (new_pad.link (enc_pad) != PadLinkReturn.OK) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]