mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
audioclock: mark as using some other clock
We need to mark our clock as using some other clock source. Alsa source uses the clock type to decide if it can use alsa driver timestamps or not. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=690465
This commit is contained in:
parent
5e04fcd2ef
commit
fe93457191
1 changed files with 2 additions and 1 deletions
|
@ -137,7 +137,8 @@ gst_audio_clock_new (const gchar * name, GstAudioClockGetTimeFunc func,
|
|||
gpointer user_data, GDestroyNotify destroy_notify)
|
||||
{
|
||||
GstAudioClock *aclock =
|
||||
GST_AUDIO_CLOCK (g_object_new (GST_TYPE_AUDIO_CLOCK, "name", name, NULL));
|
||||
GST_AUDIO_CLOCK (g_object_new (GST_TYPE_AUDIO_CLOCK, "name", name,
|
||||
"clock-type", GST_CLOCK_TYPE_OTHER, NULL));
|
||||
|
||||
aclock->func = func;
|
||||
aclock->user_data = user_data;
|
||||
|
|
Loading…
Reference in a new issue