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:
0e9dac0
)
gst-play: fix compiler warning
author
Tim-Philipp Müller
<tim@centricular.com>
Sat, 28 Feb 2015 13:31:41 +0000
(13:31 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 28 Feb 2015 13:31:41 +0000
(13:31 +0000)
‘return’ with no value, in function returning non-void
tools/gst-play.c
patch
|
blob
|
history
diff --git
a/tools/gst-play.c
b/tools/gst-play.c
index
3f0516a
..
860e451
100644
(file)
--- a/
tools/gst-play.c
+++ b/
tools/gst-play.c
@@
-655,7
+655,7
@@
play_set_rate_and_trick_mode (GstPlay * play, gdouble rate,
gboolean seekable = FALSE;
gint64 pos = -1;
- g_return_
if_fail (rate != 0
);
+ g_return_
val_if_fail (rate != 0, FALSE
);
if (!gst_element_query_position (play->playbin, GST_FORMAT_TIME, &pos))
return FALSE;