diff options
author | Michal Benes <michal.benes@xeris.cz> | 2005-11-01 14:36:02 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2005-11-01 14:36:02 +0000 |
commit | d52d22ca12c6008a6b32e9ca4e3461eb3282cc87 (patch) | |
tree | 18ab6c650a0e36c108c8b94a8fe1b0430a57b1b9 /gst/matroska/ebml-write.c | |
parent | c63a68efb750c3374cd272c0eb99a9a63bd38d12 (diff) |
add a unit test for matroskamux fix the bugs that the unit test exposed
Original commit message from CVS:
Patch by: Michal Benes <michal.benes@xeris.cz>
* check/Makefile.am:
* gst/matroska/ebml-write.c: (gst_ebml_write_seek):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_handle_src_event),
(gst_matroska_mux_audio_pad_setcaps), (gst_matroska_mux_start):
add a unit test for matroskamux
fix the bugs that the unit test exposed
Diffstat (limited to 'gst/matroska/ebml-write.c')
-rw-r--r-- | gst/matroska/ebml-write.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/matroska/ebml-write.c b/gst/matroska/ebml-write.c index 46c83842..20177405 100644 --- a/gst/matroska/ebml-write.c +++ b/gst/matroska/ebml-write.c @@ -384,8 +384,7 @@ gst_ebml_write_seek (GstEbmlWrite * ebml, guint64 pos) } } - seek = gst_event_new_newsegment (FALSE, 1.0, GST_FORMAT_BYTES, - pos, -1, GST_CLOCK_TIME_NONE); + seek = gst_event_new_newsegment (FALSE, 1.0, GST_FORMAT_BYTES, pos, -1, 0); peer_pad = GST_PAD_PEER (ebml->srcpad); if (peer_pad) { gst_pad_send_event (peer_pad, seek); |