projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bb45ff
)
gstpad: drop assertion on gst_pad_peer_query_position
author
Thiago Santos
<ts.santos@sisa.samsung.com>
Tue, 19 Nov 2013 14:41:54 +0000
(11:41 -0300)
committer
Thiago Santos
<ts.santos@sisa.samsung.com>
Fri, 29 Nov 2013 18:03:44 +0000
(15:03 -0300)
It is a 'both' query, so it can be sent both ways
gst/gstutils.c
patch
|
blob
|
history
diff --git
a/gst/gstutils.c
b/gst/gstutils.c
index
92cb30f
..
4e5f8b8
100644
(file)
--- a/
gst/gstutils.c
+++ b/
gst/gstutils.c
@@
-2587,7
+2587,6
@@
gst_pad_peer_query_position (GstPad * pad, GstFormat format, gint64 * cur)
gboolean ret = FALSE;
g_return_val_if_fail (GST_IS_PAD (pad), FALSE);
- g_return_val_if_fail (GST_PAD_IS_SINK (pad), FALSE);
g_return_val_if_fail (format != GST_FORMAT_UNDEFINED, FALSE);
query = gst_query_new_position (format);