rtmpsrc: Fix position querying

It's the position we're querying, not the duration :)
This commit is contained in:
Edward Hervey 2014-06-05 08:29:50 +02:00
parent 9538651a20
commit 3cb5bc8868

View file

@ -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;