audiobasesink: use the same type as the internal type to return it
https://bugzilla.gnome.org/show_bug.cgi?id=687466
This commit is contained in:
parent
2d8edb1e86
commit
244fdcc69a
@ -703,9 +703,9 @@ gst_audio_base_sink_set_alignment_threshold (GstAudioBaseSink * sink,
|
|||||||
GstClockTime
|
GstClockTime
|
||||||
gst_audio_base_sink_get_alignment_threshold (GstAudioBaseSink * sink)
|
gst_audio_base_sink_get_alignment_threshold (GstAudioBaseSink * sink)
|
||||||
{
|
{
|
||||||
gint64 result;
|
GstClockTime result;
|
||||||
|
|
||||||
g_return_val_if_fail (GST_IS_AUDIO_BASE_SINK (sink), -1);
|
g_return_val_if_fail (GST_IS_AUDIO_BASE_SINK (sink), GST_CLOCK_TIME_NONE);
|
||||||
|
|
||||||
GST_OBJECT_LOCK (sink);
|
GST_OBJECT_LOCK (sink);
|
||||||
result = sink->priv->alignment_threshold;
|
result = sink->priv->alignment_threshold;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user