[perl-GStreamer] Fix a test failure in t/GstBuffer.t
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-GStreamer] Fix a test failure in t/GstBuffer.t
- Date: Sat, 14 May 2011 10:53:56 +0000 (UTC)
commit 90aa35436811dd7cb93b7abe83c23ae81c97790c
Author: Jeff King <peff peff net>
Date: Sat May 14 12:21:01 2011 +0200
Fix a test failure in t/GstBuffer.t
https://bugzilla.gnome.org/show_bug.cgi?id=649615
https://rt.cpan.org/Public/Bug/Display.html?id=66736
t/GstBuffer.t | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/t/GstBuffer.t b/t/GstBuffer.t
index f9160f9..0aab997 100644
--- a/t/GstBuffer.t
+++ b/t/GstBuffer.t
@@ -14,7 +14,8 @@ isa_ok($buffer, "GStreamer::MiniObject");
$buffer -> set_data("urgs");
$buffer -> stamp(GStreamer::Buffer -> new());
-my $caps = GStreamer::Caps::Empty -> new();
+my $caps = GStreamer::Caps::Simple -> new("audio/mpeg",
+ foo => "Glib::String" => "bar");
$buffer -> set_caps($caps);
is($buffer -> get_caps(), $caps);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]