Don't call oss_clock methods on the clock

Original commit message from CVS:
Don't call oss_clock methods on the clock
This commit is contained in:
Wim Taymans 2002-05-31 17:52:50 +00:00
parent 821b7d03a5
commit ee0c7c63bc

View file

@ -480,7 +480,7 @@ gst_osssink_chain (GstPad *pad, GstBuffer *buf)
switch (GST_EVENT_TYPE (event)) { switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_EOS: case GST_EVENT_EOS:
ioctl (osssink->fd, SNDCTL_DSP_SYNC); ioctl (osssink->fd, SNDCTL_DSP_SYNC);
gst_oss_clock_set_active (osssink->clock, FALSE); gst_oss_clock_set_active (osssink->provided_clock, FALSE);
gst_pad_event_default (pad, event); gst_pad_event_default (pad, event);
return; return;
case GST_EVENT_NEW_MEDIA: case GST_EVENT_NEW_MEDIA: