Index: gstwavpackenc.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-bad/ext/wavpack/gstwavpackenc.c,v
retrieving revision 1.4
diff -u -p -r1.4 gstwavpackenc.c
--- gstwavpackenc.c	16 Aug 2006 10:40:04 -0000	1.4
+++ gstwavpackenc.c	17 Aug 2006 10:52:00 -0000
@@ -340,7 +340,7 @@ gst_wavpack_enc_sink_set_caps (GstPad * 
       "channels", G_TYPE_INT, wavpack_enc->channels,
       "rate", G_TYPE_INT, wavpack_enc->samplerate,
       "width", G_TYPE_INT, wavpack_enc->width,
-      "framed", G_TYPE_BOOLEAN, TRUE, NULL);
+      "framed", G_TYPE_BOOLEAN, FALSE, NULL);
 
   if (!gst_pad_set_caps (wavpack_enc->srcpad, caps)) {
     GST_ELEMENT_ERROR (wavpack_enc, LIBRARY, INIT, (NULL),
@@ -547,7 +547,7 @@ gst_wavpack_enc_push_block (void *id, vo
 
       /* if it's the first wavpack block save it for later reference
        * i.e. sample count correction and send a NEW_SEGMENT event */
-      if (wph.block_index == 0) {
+      if ((wph.block_index == 0) && (!wavpack_enc->first_block)) {
         GstEvent *event = gst_event_new_new_segment (FALSE,
             1.0, GST_FORMAT_BYTES, 0, GST_BUFFER_OFFSET_NONE, 0);
 
