modplug should work (no seek events for now)

Original commit message from CVS:
modplug should work (no seek events for now)
This commit is contained in:
Jeremy Simon 2002-06-04 21:54:13 +00:00
parent ac15df6f53
commit 380b28dd97

View file

@ -306,13 +306,15 @@ gst_modplug_loop (GstElement *element)
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) if (GST_EVENT_TYPE (event) == GST_EVENT_EOS)
break; break;
} }
if ( modplug->Buffer ) {
modplug->Buffer = gst_buffer_append( modplug->Buffer, buffer_in );
gst_buffer_unref( buffer_in );
}
else else
modplug->Buffer = buffer_in; {
if ( modplug->Buffer ) {
modplug->Buffer = gst_buffer_append( modplug->Buffer, buffer_in );
gst_buffer_unref( buffer_in );
}
else
modplug->Buffer = buffer_in;
}
} }
if ( modplug->_16bit ) if ( modplug->_16bit )