rygel r426 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r426 - trunk/src/rygel
- Date: Tue, 13 Jan 2009 14:32:45 +0000 (UTC)
Author: zeeshanak
Date: Tue Jan 13 14:32:44 2009
New Revision: 426
URL: http://svn.gnome.org/viewvc/rygel?rev=426&view=rev
Log:
Better error handling.
Stream should end itself if pads/elements don't get linked.
Modified:
trunk/src/rygel/rygel-gst-stream.vala
Modified: trunk/src/rygel/rygel-gst-stream.vala
==============================================================================
--- trunk/src/rygel/rygel-gst-stream.vala (original)
+++ trunk/src/rygel/rygel-gst-stream.vala Tue Jan 13 14:32:44 2009
@@ -113,6 +113,8 @@
critical ("Failed to link %s to %s",
depay.name,
sink.name);
+ this.end ();
+ return;
}
sink_pad = depay.get_compatible_pad (src_pad, caps);
@@ -125,6 +127,7 @@
src_pad.name,
sink_pad.name);
this.end ();
+ return;
}
if (depay != null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]