Commit 14f2bca5 authored by Edward Hervey's avatar Edward Hervey
Browse files

tests/check/elements/videorate.c: Set buffer timestamp to a valid value in...

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.
parent 25d28aae
2007-05-03 Edward Hervey <edward@fluendo.com>
* 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 <edward@fluendo.com>
 
* gst/videorate/gstvideorate.c: (gst_video_rate_chain):
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment