mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
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:
parent
ac15df6f53
commit
380b28dd97
1 changed files with 8 additions and 6 deletions
|
@ -306,13 +306,15 @@ gst_modplug_loop (GstElement *element)
|
|||
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS)
|
||||
break;
|
||||
}
|
||||
|
||||
if ( modplug->Buffer ) {
|
||||
modplug->Buffer = gst_buffer_append( modplug->Buffer, buffer_in );
|
||||
gst_buffer_unref( buffer_in );
|
||||
}
|
||||
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 )
|
||||
|
|
Loading…
Reference in a new issue