update for query api changes

This commit is contained in:
Wim Taymans 2012-07-06 11:50:55 +02:00
parent ddd57f9107
commit f711750bba

View file

@ -1548,7 +1548,7 @@ gst_x264_enc_finish (GstVideoEncoder * encoder)
static gboolean
gst_x264_enc_propose_allocation (GstVideoEncoder * encoder, GstQuery * query)
{
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, 0);
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL);
return GST_VIDEO_ENCODER_CLASS (parent_class)->propose_allocation (encoder,
query);