mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
audiodecoder: update to 0.11 API after merge
This commit is contained in:
parent
303dbaf84b
commit
ab949eebbd
1 changed files with 1 additions and 1 deletions
|
@ -1092,7 +1092,7 @@ gst_audio_decoder_chain_forward (GstAudioDecoder * dec, GstBuffer * buffer)
|
||||||
GstFlowReturn ret = GST_FLOW_OK;
|
GstFlowReturn ret = GST_FLOW_OK;
|
||||||
|
|
||||||
/* discard silly case, though maybe ts may be of value ?? */
|
/* discard silly case, though maybe ts may be of value ?? */
|
||||||
if (G_UNLIKELY (GST_BUFFER_SIZE (buffer) == 0)) {
|
if (G_UNLIKELY (gst_buffer_get_size (buffer) == 0)) {
|
||||||
GST_DEBUG_OBJECT (dec, "discarding empty buffer");
|
GST_DEBUG_OBJECT (dec, "discarding empty buffer");
|
||||||
gst_buffer_unref (buffer);
|
gst_buffer_unref (buffer);
|
||||||
goto exit;
|
goto exit;
|
||||||
|
|
Loading…
Reference in a new issue