wtay gst-plugins-base: gst-plugins-base/ gst-plugins-base/tests/check/pipelines/

[email protected] Thu, 11 Dec 2008 02:34:02 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gst-plugins-base
Changes by:     wtay
Date:           Thu Dec 11 2008  10:34:02 UTC

Log message:
* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
Pushing 10 buffers is enough to run the test.

Modified files:
    .               : ChangeLog
    tests/check/pipelines: theoraenc.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ChangeLog.diff?r1=1.4242&r2=1.4243
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/tests/check/pipelines/theoraenc.c.diff?r1=1.22&r2=1.23

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/ChangeLog,v
retrieving revision 1.4242
retrieving revision 1.4243
diff -u -d -r1.4242 -r1.4243
--- ChangeLog	11 Dec 2008 10:28:42 -0000	1.4242
+++ ChangeLog	11 Dec 2008 10:33:46 -0000	1.4243
@@ -1,5 +1,10 @@
 2008-12-11  Wim Taymans  <[email protected]>
 
+	* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
+	Pushing 10 buffers is enough to run the test.
+
+2008-12-11  Wim Taymans  <[email protected]>
 	* tests/examples/seek/seek.c: (do_seek), (stop_cb),
 	(skip_toggle_cb), (rate_spinbutton_changed_cb), (msg_segment_done),
 	(main):
Index: theoraenc.c
RCS file: /cvs/gstreamer/gst-plugins-base/tests/check/pipelines/theoraenc.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- theoraenc.c	21 May 2008 16:36:50 -0000	1.22
+++ theoraenc.c	11 Dec 2008 10:33:48 -0000	1.23
@@ -135,7 +135,7 @@
   GError *error = NULL;
   pipe_str = g_strdup_printf ("videotestsrc timestamp-offset=%" G_GUINT64_FORMAT
-      " ! video/x-raw-yuv,format=(fourcc)I420,framerate=10/1"
+      " num-buffers=10 ! video/x-raw-yuv,format=(fourcc)I420,framerate=10/1"
       " ! theoraenc ! fakesink name=fs0", TIMESTAMP_OFFSET);
   bin = gst_parse_launch (pipe_str, &error);
@@ -227,7 +227,7 @@
   GstBuffer *buffer;
-  pipe_str = g_strdup_printf ("videotestsrc"
+  pipe_str = g_strdup_printf ("videotestsrc num-buffers=10"
       " ! video/x-raw-yuv,format=(fourcc)I420,framerate=10/1"
       " ! theoraenc ! fakesink name=fs0");
@@ -325,7 +325,7 @@
   guint drop_id;

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/