baseaudiosrc: adjust the internal timestamp
Adjust the internal timestamp before comparing it against the adjusted clock time. Fixes #578506
This commit is contained in:
parent
0c4c1410f9
commit
dffd1bcc97
@ -968,6 +968,9 @@ gst_base_audio_src_create (GstBaseSrc * bsrc, guint64 offset, guint length,
|
||||
} else {
|
||||
GstClockTime base_time;
|
||||
|
||||
/* to get the timestamp against the clock we also need to add our offset */
|
||||
timestamp = gst_audio_clock_adjust (clock, timestamp);
|
||||
|
||||
/* we are not slaved, subtract base_time */
|
||||
base_time = GST_ELEMENT_CAST (src)->base_time;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user