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:
Stefan Kost 2007-10-19 19:33:16 +00:00
parent 961c985270
commit cc3966d7a3
3 changed files with 9 additions and 1 deletions

View file

@ -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>
Based on patch by: Laurent Glayal <spglegle yahoo fr>

View file

@ -1631,6 +1631,8 @@ gst_avi_mux_do_buffer (GstAviMux * avimux, GstAviPad * avipad)
data = gst_buffer_make_metadata_writable (data);
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)
return res;
if ((res = gst_pad_push (avimux->srcpad, data)) != GST_FLOW_OK)

View file

@ -236,7 +236,7 @@ GST_END_TEST;
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;