From 14f2bca596b2306c3a137d04de50eecc45c9e20b Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 3 May 2007 11:24:00 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ tests/check/elements/videorate.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 08d4a57d72..3c0aa928b4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-05-03 Edward Hervey + + * 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. + 2007-05-03 Edward Hervey * gst/videorate/gstvideorate.c: (gst_video_rate_chain): diff --git a/tests/check/elements/videorate.c b/tests/check/elements/videorate.c index 974244f2d5..163914e469 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);