wavenc: miniscule code clean-up

GST_CLOCK_TIME_NONE is not something that should be used in connection with
GST_FORMAT_BYTES.
This commit is contained in:
Tim-Philipp Müller 2010-09-29 13:20:22 +01:00
parent 8d69663026
commit a461b94629

View file

@ -248,8 +248,7 @@ gst_wavenc_push_header (GstWavEnc * wavenc, guint audio_data_size)
/* seek to beginning of file */ /* seek to beginning of file */
gst_pad_push_event (wavenc->srcpad, gst_pad_push_event (wavenc->srcpad,
gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_BYTES, gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_BYTES, 0, -1, 0));
0, GST_CLOCK_TIME_NONE, 0));
GST_DEBUG_OBJECT (wavenc, "writing header with datasize=%u", audio_data_size); GST_DEBUG_OBJECT (wavenc, "writing header with datasize=%u", audio_data_size);