mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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:
parent
8d69663026
commit
a461b94629
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue