ffmpegdec: unref allocation query

This commit is contained in:
Mark Nauwelaerts 2011-06-29 11:44:11 +02:00
parent 0c026bde71
commit 36fe313fbd

View file

@ -1188,6 +1188,8 @@ gst_ffmpegdec_bufferpool (GstFFMpegDec * ffmpegdec, GstCaps * caps)
alignment = 15;
}
gst_query_unref (query);
if (pool == NULL) {
/* we did not get a pool, make one ourselves then */
pool = gst_buffer_pool_new ();