[rygel] test: Micro simplification of code
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] test: Micro simplification of code
- Date: Tue, 12 Jan 2010 15:37:49 +0000 (UTC)
commit a8fee238e7847f958da5111db7bff8b30205ecf0
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Jan 12 17:32:30 2010 +0200
test: Micro simplification of code
src/plugins/test/rygel-test-audio-item.vala | 2 +-
src/plugins/test/rygel-test-video-item.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/test/rygel-test-audio-item.vala b/src/plugins/test/rygel-test-audio-item.vala
index bf267ad..56f1563 100644
--- a/src/plugins/test/rygel-test-audio-item.vala
+++ b/src/plugins/test/rygel-test-audio-item.vala
@@ -43,7 +43,7 @@ public class Rygel.TestAudioItem : Rygel.TestItem {
public override Element? create_stream_source () {
try {
- return Gst.parse_bin_from_description (PIPELINE, true);
+ return parse_bin_from_description (PIPELINE, true);
} catch (Error err) {
warning ("Required plugin missing (%s)", err.message);
diff --git a/src/plugins/test/rygel-test-video-item.vala b/src/plugins/test/rygel-test-video-item.vala
index ed5b5de..22ce267 100644
--- a/src/plugins/test/rygel-test-video-item.vala
+++ b/src/plugins/test/rygel-test-video-item.vala
@@ -45,7 +45,7 @@ public class Rygel.TestVideoItem : Rygel.TestItem {
public override Element? create_stream_source () {
try {
- return Gst.parse_bin_from_description (PIPELINE, true);
+ return parse_bin_from_description (PIPELINE, true);
} catch (Error err) {
warning ("Required plugin missing (%s)", err.message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]