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:
391f767
)
query: fix compiler warning
author
Tim-Philipp Müller
<tim@centricular.com>
Sun, 10 Apr 2016 10:42:18 +0000
(11:42 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 2 May 2016 09:53:04 +0000
(10:53 +0100)
C4146: unary minus operator applied to unsigned type, result still unsigned
gst/gstquery.c
patch
|
blob
|
history
diff --git
a/gst/gstquery.c
b/gst/gstquery.c
index
63ad182
..
7093388
100644
(file)
--- a/
gst/gstquery.c
+++ b/
gst/gstquery.c
@@
-390,7
+390,7
@@
gst_query_new_latency (void)
structure = gst_structure_new_id (GST_QUARK (QUERY_LATENCY),
GST_QUARK (LIVE), G_TYPE_BOOLEAN, FALSE,
GST_QUARK (MIN_LATENCY), G_TYPE_UINT64, G_GUINT64_CONSTANT (0),
- GST_QUARK (MAX_LATENCY), G_TYPE_UINT64, G
_GUINT64_CONSTANT (-1)
, NULL);
+ GST_QUARK (MAX_LATENCY), G_TYPE_UINT64, G
ST_CLOCK_TIME_NONE
, NULL);
query = gst_query_new_custom (GST_QUERY_LATENCY, structure);