mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +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)
|
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 )
|
||||||
|
|
Loading…
Reference in a new issue