decodebin2: Update for GstQuery related API changes

This commit is contained in:
Sebastian Dröge 2011-05-16 17:13:14 +02:00
parent 34849f0108
commit 549128c2a3

View file

@ -2058,7 +2058,7 @@ check_upstream_seekable (GstDecodeBin * dbin, GstPad * pad)
dbin->upstream_seekable = FALSE; dbin->upstream_seekable = FALSE;
query = gst_query_new_seeking (GST_FORMAT_BYTES); query = gst_query_new_seeking (GST_FORMAT_BYTES);
if (!gst_pad_peer_query (pad, query)) { if (!gst_pad_peer_query (pad, &query)) {
GST_DEBUG_OBJECT (dbin, "seeking query failed"); GST_DEBUG_OBJECT (dbin, "seeking query failed");
gst_query_unref (query); gst_query_unref (query);
return; return;