mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
jpegparse: Fix unit test
The parsed buffers have a framerate of 1/1. Fixes bug #608998.
This commit is contained in:
parent
a6ba273e36
commit
185df279e8
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ _make_buffers_out (GList * buffer_out, guint8 * test_data, gsize test_data_size)
|
|||
buffer = gst_buffer_new ();
|
||||
gst_buffer_set_data (buffer, test_data, test_data_size);
|
||||
gst_buffer_set_caps (buffer, gst_caps_new_simple ("image/jpeg", "parsed",
|
||||
G_TYPE_BOOLEAN, TRUE, NULL));
|
||||
G_TYPE_BOOLEAN, TRUE, "framerate", GST_TYPE_FRACTION, 1, 1, NULL));
|
||||
buffer_out = g_list_append (buffer_out, buffer);
|
||||
return buffer_out;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue