diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2007-10-19 19:33:16 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2007-10-19 19:33:16 +0000 |
commit | cc3966d7a38de3dc4c0051543b128bb3850acdd5 (patch) | |
tree | e864ae3e117aef7c8f46600dd8883a526182c6a7 | |
parent | 961c98527027fdb54c64899c0c995115b8870365 (diff) |
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gst/avi/gstavimux.c | 2 | ||||
-rw-r--r-- | tests/check/elements/avimux.c | 2 |
3 files changed, 9 insertions, 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> Based on patch by: Laurent Glayal <spglegle yahoo fr> diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c index 44c132fb..09129108 100644 --- a/gst/avi/gstavimux.c +++ b/gst/avi/gstavimux.c @@ -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) diff --git a/tests/check/elements/avimux.c b/tests/check/elements/avimux.c index 00dea6f2..7def7764 100644 --- a/tests/check/elements/avimux.c +++ b/tests/check/elements/avimux.c @@ -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; |