rygel r667 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r667 - trunk/src/rygel
- Date: Sun, 15 Mar 2009 19:01:55 +0000 (UTC)
Author: zeeshanak
Date: Sun Mar 15 19:01:55 2009
New Revision: 667
URL: http://svn.gnome.org/viewvc/rygel?rev=667&view=rev
Log:
No need to pass caps to Element.get_compatible_pad.
Modified:
trunk/src/rygel/rygel-transcode-src.vala
Modified: trunk/src/rygel/rygel-transcode-src.vala
==============================================================================
--- trunk/src/rygel/rygel-transcode-src.vala (original)
+++ trunk/src/rygel/rygel-transcode-src.vala Sun Mar 15 19:01:55 2009
@@ -73,12 +73,10 @@
private void decodebin_pad_added (Element decodebin,
Pad new_pad) {
- var caps = new_pad.get_caps ();
-
- Pad enc_pad = this.audio_enc.get_compatible_pad (new_pad, caps);
+ Pad enc_pad = this.audio_enc.get_compatible_pad (new_pad, null);
if (enc_pad == null) {
// Try video encoder
- enc_pad = this.video_enc.get_compatible_pad (new_pad, caps);
+ enc_pad = this.video_enc.get_compatible_pad (new_pad, null);
}
if (enc_pad == null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]