mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-24 09:34:25 +00:00
gst/audioscale/gstaudioscale.c: Don't crash, biatch! :).
Original commit message from CVS: * gst/audioscale/gstaudioscale.c: (gst_audioscale_chain): Don't crash, biatch! :).
This commit is contained in:
parent
98a2f3f54b
commit
f7b012fa2f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-01-10 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
|
||||
Don't crash, biatch! :).
|
||||
|
||||
2005-01-10 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/musepack/gstmusepackreader.cpp:
|
||||
|
|
|
@ -597,7 +597,7 @@ gst_audioscale_chain (GstPad * pad, GstData * _data)
|
|||
break;
|
||||
}
|
||||
return;
|
||||
} else if (GST_BUFFER_TIMESTAMP_IS_VALID (buf)) {
|
||||
} else if (GST_BUFFER_TIMESTAMP_IS_VALID (buf) && audioscale->gst_resample) {
|
||||
/* update time for out-sample */
|
||||
audioscale->gst_resample_offset = GST_BUFFER_TIMESTAMP (buf) *
|
||||
audioscale->gst_resample->o_rate / GST_SECOND;
|
||||
|
|
Loading…
Reference in a new issue