Commit a461b946 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

wavenc: miniscule code clean-up

GST_CLOCK_TIME_NONE is not something that should be used in connection with
GST_FORMAT_BYTES.
parent 8d696630
......@@ -248,8 +248,7 @@ gst_wavenc_push_header (GstWavEnc * wavenc, guint audio_data_size)
/* seek to beginning of file */
gst_pad_push_event (wavenc->srcpad,
gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_BYTES,
0, GST_CLOCK_TIME_NONE, 0));
gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_BYTES, 0, -1, 0));
GST_DEBUG_OBJECT (wavenc, "writing header with datasize=%u", audio_data_size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment