[0.11] gst-plugins-base: tests: activate pad in multifdsink test before pushing on it

Tim Müller tpm at kemper.freedesktop.org
Fri Feb 17 11:29:21 PST 2012


Module: gst-plugins-base
Branch: 0.11
Commit: a350c28aedae9b1e329f1f971d612fb06a226d45
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=a350c28aedae9b1e329f1f971d612fb06a226d45

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Fri Feb 17 19:15:55 2012 +0000

tests: activate pad in multifdsink test before pushing on it

---

 tests/check/elements/multifdsink.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/check/elements/multifdsink.c b/tests/check/elements/multifdsink.c
index 2665f19..43ff72a 100644
--- a/tests/check/elements/multifdsink.c
+++ b/tests/check/elements/multifdsink.c
@@ -45,7 +45,7 @@ setup_multifdsink (void)
   GST_DEBUG ("setup_multifdsink");
   multifdsink = gst_check_setup_element ("multifdsink");
   mysrcpad = gst_check_setup_src_pad (multifdsink, &srctemplate);
-  GST_PAD_UNSET_FLUSHING (mysrcpad);
+  gst_pad_set_active (mysrcpad, TRUE);
 
   return multifdsink;
 }



More information about the gstreamer-commits mailing list