gnomemm r1989 - in gstreamermm/trunk: . tests
- From: jaalburqu svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r1989 - in gstreamermm/trunk: . tests
- Date: Mon, 12 Jan 2009 21:56:06 +0000 (UTC)
Author: jaalburqu
Date: Mon Jan 12 21:56:06 2009
New Revision: 1989
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1989&view=rev
Log:
2009-01-12 Josà Alburquerque <jaalburqu svn gnome org>
* tests/test-ghost-pad.cc: Uncommented warning lines to show that
ghost pad constructors warn on construction failure (parallel C code
produces same results).
Modified:
gstreamermm/trunk/ChangeLog
gstreamermm/trunk/tests/test-ghost-pad.cc
Modified: gstreamermm/trunk/tests/test-ghost-pad.cc
==============================================================================
--- gstreamermm/trunk/tests/test-ghost-pad.cc (original)
+++ gstreamermm/trunk/tests/test-ghost-pad.cc Mon Jan 12 21:56:06 2009
@@ -50,14 +50,12 @@
std::cout << "Successfully created pad '" << pad2->get_name() <<
"'; direction = " << pad2->get_direction() << "." << std::endl;
-//Uuncomment the following lines to produce an error while creating the ghost
-//pad.
-/*
+//Comment the following gpad1 lines to remove the warning while creating the
+//ghost pad:
Glib::RefPtr<Gst::GhostPad> gpad1 = Gst::GhostPad::create("gpad1", pad1);
if (gpad1)
std::cout << "Successfully created pad '" << gpad1->get_name() <<
"'; direction = " << gpad1->get_direction() << "." << std::endl;
-*/
Glib::RefPtr<Gst::GhostPad> gpad2 =
Gst::GhostPad::create("gpad2", Gst::PAD_SRC);
@@ -65,15 +63,13 @@
std::cout << "Successfully created pad '" << gpad2->get_name() <<
"'; direction = " << gpad2->get_direction() << "." << std::endl;
-//Uuncomment the following lines to produce an error while creating the ghost
-//pad.
-/*
+//Comment the following gpad3 lines to remove the warning while creating the
+//ghost pad:
Glib::RefPtr<Gst::GhostPad> gpad3 =
Gst::GhostPad::create("gpad3", pad1, templ);
if (gpad3)
std::cout << "Successfully created pad '" << gpad3->get_name() <<
"'; direction = " << gpad3->get_direction() << "." << std::endl;
-*/
Glib::RefPtr<Gst::GhostPad> gpad4 =
Gst::GhostPad::create("gpad4", templ);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]