mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
Revert pull-0 fix for release. Disable check. Fixes #347408.
Original commit message from CVS: * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length): * tests/check/elements/filesrc.c: (GST_START_TEST): Revert pull-0 fix for release. Disable check. Fixes #347408.
This commit is contained in:
parent
4e254808c4
commit
1c6b809344
4 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-07-13 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
|
||||
* tests/check/elements/filesrc.c: (GST_START_TEST):
|
||||
Revert pull-0 fix for release. Disable check. Fixes #347408.
|
||||
|
||||
2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* libs/gst/dataprotocol/dataprotocol.c:
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit dd173e2720ac21e4a47c97705d7ff32271a0ee66
|
||||
Subproject commit 53ecdc0c97a2992e5abeddd41d514bc142401e5d
|
|
@ -1238,6 +1238,10 @@ gst_base_src_update_length (GstBaseSrc * src, guint64 offset, guint * length)
|
|||
*length = maxsize - offset;
|
||||
}
|
||||
}
|
||||
/* FIXME, remove this check after release. Some elements pull 0 bytes
|
||||
* and expect an UNEXPECTED return value (id3demux) */
|
||||
if (*length == 0)
|
||||
goto unexpected_length;
|
||||
|
||||
/* keep track of current position. segment is in bytes, we checked
|
||||
* that above. */
|
||||
|
|
|
@ -186,12 +186,14 @@ GST_START_TEST (test_pull)
|
|||
fail_unless (GST_BUFFER_SIZE (buffer1) == 10);
|
||||
gst_buffer_unref (buffer1);
|
||||
|
||||
#if 0 /* enable after 0 bytes pulls are fixed */
|
||||
/* read 0 bytes at end-1 should return 0 bytes */
|
||||
ret = gst_pad_get_range (pad, stop - 1, 0, &buffer1);
|
||||
fail_unless (ret == GST_FLOW_OK);
|
||||
fail_unless (buffer1 != NULL);
|
||||
fail_unless (GST_BUFFER_SIZE (buffer1) == 0);
|
||||
gst_buffer_unref (buffer1);
|
||||
#endif
|
||||
|
||||
/* read 10 bytes at end-1 should return 1 byte */
|
||||
ret = gst_pad_get_range (pad, stop - 1, 10, &buffer1);
|
||||
|
|
Loading…
Reference in a new issue