diff options
author | Edward Hervey <bilboed@bilboed.com> | 2014-06-05 08:29:50 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2014-06-05 09:41:31 +0200 |
commit | 3cb5bc886869349c75ad2f1c6662a899b166bb91 (patch) | |
tree | 1927f08aa8e69efc2db2e01bbb42a41997e438d3 | |
parent | 9538651a201654e336b3d13536b96232a54b5e13 (diff) | |
download | gstreamer-plugins-bad-3cb5bc886869349c75ad2f1c6662a899b166bb91.tar.gz |
rtmpsrc: Fix position querying
It's the position we're querying, not the duration :)
-rw-r--r-- | ext/rtmp/gstrtmpsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/rtmp/gstrtmpsrc.c b/ext/rtmp/gstrtmpsrc.c index b6c404829..f17814639 100644 --- 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_duration (query, format, src->last_timestamp); + gst_query_set_position (query, format, src->last_timestamp); ret = TRUE; } break; |