[rygel] gst-renderer: Remove commented-out code
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] gst-renderer: Remove commented-out code
- Date: Sun, 1 Aug 2010 16:59:19 +0000 (UTC)
commit 85a1ccc670ba72c57c6588392bf36d68bab42977
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sat Jul 31 14:34:58 2010 +0300
gst-renderer: Remove commented-out code
.../rygel-gst-renderer-connection-manager.vala | 35 --------------------
1 files changed, 0 insertions(+), 35 deletions(-)
---
diff --git a/src/plugins/gst-renderer/rygel-gst-renderer-connection-manager.vala b/src/plugins/gst-renderer/rygel-gst-renderer-connection-manager.vala
index 8187574..820584a 100644
--- a/src/plugins/gst-renderer/rygel-gst-renderer-connection-manager.vala
+++ b/src/plugins/gst-renderer/rygel-gst-renderer-connection-manager.vala
@@ -24,41 +24,6 @@
using GUPnP;
public class Rygel.GstRenderer.ConnectionManager : Rygel.ConnectionManager {
- // Creates a list of supported sink protocols based on GStreamer's
- // registry. We don't use this because of the spam it generates ..
- /*
- private void setup_sink_protocol_info () {
- Gst.Registry reg = Gst.Registry.get_default ();
-
- Gee.HashSet<string> mime_types =
- new Gee.HashSet<string> (GLib.str_hash, GLib.str_equal);
-
- weak List<Gst.ElementFactory> factories =
- reg.get_feature_list (typeof (Gst.ElementFactory));
- foreach (Gst.ElementFactory factory in factories) {
- weak List<Gst.StaticPadTemplate> templates =
- factory.staticpadtemplates;
- foreach (weak Gst.StaticPadTemplate template in templates) {
- if (template.direction != Gst.PadDirection.SINK) {
- continue;
- }
-
- Gst.Caps caps = template.static_caps.get ();
- for (int i = 0; i < caps.get_size (); i++) {
- weak Gst.Structure str =
- template.static_caps.get_structure (i);
-
- mime_types.add (str.get_name ());
- }
- }
- }
-
- foreach (string type in mime_types) {
- stdout.printf ("%s\n", type);
- }
- }
- */
-
public override void constructed () {
base.constructed ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]