projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9538651
)
rtmpsrc: Fix position querying
author
Edward Hervey
<bilboed@bilboed.com>
Thu, 5 Jun 2014 06:29:50 +0000
(08:29 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Thu, 5 Jun 2014 07:41:31 +0000
(09:41 +0200)
It's the position we're querying, not the duration :)
ext/rtmp/gstrtmpsrc.c
patch
|
blob
|
history
diff --git
a/ext/rtmp/gstrtmpsrc.c
b/ext/rtmp/gstrtmpsrc.c
index
b6c4048
..
f178146
100644
(file)
--- a/
ext/rtmp/gstrtmpsrc.c
+++ b/
ext/rtmp/gstrtmpsrc.c
@@
-416,7
+416,7
@@
gst_rtmp_src_query (GstBaseSrc * basesrc, GstQuery * query)
gst_query_parse_position (query, &format, NULL);
if (format == GST_FORMAT_TIME) {
- gst_query_set_
dura
tion (query, format, src->last_timestamp);
+ gst_query_set_
posi
tion (query, format, src->last_timestamp);
ret = TRUE;
}
break;