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,7 +306,8 @@ gst_modplug_loop (GstElement *element)
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) if (GST_EVENT_TYPE (event) == GST_EVENT_EOS)
break; break;
} }
else
{
if ( modplug->Buffer ) { if ( modplug->Buffer ) {
modplug->Buffer = gst_buffer_append( modplug->Buffer, buffer_in ); modplug->Buffer = gst_buffer_append( modplug->Buffer, buffer_in );
gst_buffer_unref( buffer_in ); gst_buffer_unref( buffer_in );
@ -314,6 +315,7 @@ gst_modplug_loop (GstElement *element)
else else
modplug->Buffer = buffer_in; modplug->Buffer = buffer_in;
} }
}
if ( modplug->_16bit ) if ( modplug->_16bit )
mode16bits = 16; mode16bits = 16;