summaryrefslogtreecommitdiff
path: root/tests/check/elements/videorate.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-05-03 11:24:00 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-05-03 11:24:00 +0000
commit14f2bca596b2306c3a137d04de50eecc45c9e20b (patch)
treec072511cbaa4582505432e2a424b0a3d47fbfb3a /tests/check/elements/videorate.c
parent25d28aae9882bff921b9cb10cd77724229c2c3ce (diff)
downloadgstreamer-plugins-base-14f2bca596b2306c3a137d04de50eecc45c9e20b.tar.gz
tests/check/elements/videorate.c: Set buffer timestamp to a valid value in order to test the buffer really does stay ...
Original commit message from CVS: * tests/check/elements/videorate.c: (GST_START_TEST): Set buffer timestamp to a valid value in order to test the buffer really does stay in videorate.
Diffstat (limited to 'tests/check/elements/videorate.c')
-rw-r--r--tests/check/elements/videorate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/elements/videorate.c b/tests/check/elements/videorate.c
index 974244f2d..163914e46 100644
--- a/tests/check/elements/videorate.c
+++ b/tests/check/elements/videorate.c
@@ -138,6 +138,7 @@ GST_START_TEST (test_one)
memset (GST_BUFFER_DATA (inbuffer), 0, 4);
caps = gst_caps_from_string (VIDEO_CAPS_STRING);
gst_buffer_set_caps (inbuffer, caps);
+ GST_BUFFER_TIMESTAMP (inbuffer) = 0;
gst_caps_unref (caps);
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1);