update for buffer changes

This commit is contained in:
Wim Taymans 2012-03-28 12:50:19 +02:00
parent 894be47d5f
commit 2c881eb752

View file

@ -2805,7 +2805,7 @@ gst_ffmpegdec_chain (GstPad * pad, GstObject * parent, GstBuffer * inbuf)
if (ffmpegdec->pcache) {
/* join with previous data */
GST_LOG_OBJECT (ffmpegdec, "join parse cache");
inbuf = gst_buffer_join (ffmpegdec->pcache, inbuf);
inbuf = gst_buffer_append (ffmpegdec->pcache, inbuf);
/* no more cached data, we assume we can consume the complete cache */
ffmpegdec->pcache = NULL;
}