mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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.
This commit is contained in:
parent
25d28aae98
commit
14f2bca596
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2007-05-03 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
* gst/videorate/gstvideorate.c: (gst_video_rate_chain):
|
* gst/videorate/gstvideorate.c: (gst_video_rate_chain):
|
||||||
|
|
|
@ -138,6 +138,7 @@ GST_START_TEST (test_one)
|
||||||
memset (GST_BUFFER_DATA (inbuffer), 0, 4);
|
memset (GST_BUFFER_DATA (inbuffer), 0, 4);
|
||||||
caps = gst_caps_from_string (VIDEO_CAPS_STRING);
|
caps = gst_caps_from_string (VIDEO_CAPS_STRING);
|
||||||
gst_buffer_set_caps (inbuffer, caps);
|
gst_buffer_set_caps (inbuffer, caps);
|
||||||
|
GST_BUFFER_TIMESTAMP (inbuffer) = 0;
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1);
|
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue