mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 21:28:45 +00:00
Add some debug and sync tests with the fix.
Original commit message from CVS: * gst/avi/gstavimux.c: * tests/check/elements/avimux.c: Add some debug and sync tests with the fix.
This commit is contained in:
parent
961c985270
commit
cc3966d7a3
3 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-10-19 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* gst/avi/gstavimux.c:
|
||||||
|
* tests/check/elements/avimux.c:
|
||||||
|
Add some debug and sync tests with the fix.
|
||||||
|
|
||||||
2007-10-18 Wim Taymans <wim.taymans@gmail.com>
|
2007-10-18 Wim Taymans <wim.taymans@gmail.com>
|
||||||
|
|
||||||
Based on patch by: Laurent Glayal <spglegle yahoo fr>
|
Based on patch by: Laurent Glayal <spglegle yahoo fr>
|
||||||
|
|
|
@ -1631,6 +1631,8 @@ gst_avi_mux_do_buffer (GstAviMux * avimux, GstAviPad * avipad)
|
||||||
data = gst_buffer_make_metadata_writable (data);
|
data = gst_buffer_make_metadata_writable (data);
|
||||||
gst_buffer_set_caps (data, GST_PAD_CAPS (avimux->srcpad));
|
gst_buffer_set_caps (data, GST_PAD_CAPS (avimux->srcpad));
|
||||||
|
|
||||||
|
GST_DEBUG ("pushing buffers: head, data");
|
||||||
|
|
||||||
if ((res = gst_pad_push (avimux->srcpad, header)) != GST_FLOW_OK)
|
if ((res = gst_pad_push (avimux->srcpad, header)) != GST_FLOW_OK)
|
||||||
return res;
|
return res;
|
||||||
if ((res = gst_pad_push (avimux->srcpad, data)) != GST_FLOW_OK)
|
if ((res = gst_pad_push (avimux->srcpad, data)) != GST_FLOW_OK)
|
||||||
|
|
|
@ -236,7 +236,7 @@ GST_END_TEST;
|
||||||
|
|
||||||
GST_START_TEST (test_audio_pad)
|
GST_START_TEST (test_audio_pad)
|
||||||
{
|
{
|
||||||
check_avimux_pad (&srcaudiotemplate, AUDIO_CAPS_STRING, "01wb", "audio_%d");
|
check_avimux_pad (&srcaudiotemplate, AUDIO_CAPS_STRING, "00wb", "audio_%d");
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
Loading…
Reference in a new issue