summaryrefslogtreecommitdiffstats
path: root/gst/matroska/ebml-write.c
diff options
context:
space:
mode:
authorMichal Benes <michal.benes@xeris.cz>2005-11-01 14:36:02 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-11-01 14:36:02 +0000
commitd52d22ca12c6008a6b32e9ca4e3461eb3282cc87 (patch)
tree18ab6c650a0e36c108c8b94a8fe1b0430a57b1b9 /gst/matroska/ebml-write.c
parentc63a68efb750c3374cd272c0eb99a9a63bd38d12 (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.c3
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);