GNOME Bugzilla – Bug 752462
multifilesrc: set position as offset from start-index
Last modified: 2016-05-27 19:35:57 UTC
query position in GST_FORMAT_BUFFER should returns offset from start-index rather than index.
Created attachment 307525 [details] [review] multifilesrc: set position as offset from start-index query position in GST_FORMAT_BUFFER returns offset from start-index rather than index
Thanks, I think that makes sense. I changed it to set the format that was requested though instead of replacing it: commit 4bdd192fb342bee9394bc4013b9fc563dc035649 Author: Prashant Gotarne <ps.gotarne@samsung.com> Date: Thu Jul 16 09:48:46 2015 +0530 multifilesrc: set position as offset from start-index query position in GST_FORMAT_BUFFER returns offset from start-index rather than index. https://bugzilla.gnome.org/show_bug.cgi?id=752462 (Also, there's no locking anywhere there - but that's nothing to do with your patch of course :))
Oh, I missed that the original code always set GST_FORMAT_BUFFERS as well, sorry :)