mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
decodebin2: Update for GstQuery related API changes
This commit is contained in:
parent
34849f0108
commit
549128c2a3
1 changed files with 1 additions and 1 deletions
|
@ -2058,7 +2058,7 @@ check_upstream_seekable (GstDecodeBin * dbin, GstPad * pad)
|
|||
dbin->upstream_seekable = FALSE;
|
||||
|
||||
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_query_unref (query);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue