[Bug 749690] splitfilesrc: Implement binary search in find_part_for_offset

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun May 24 04:29:56 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=749690

--- Comment #9 from Jimmy Ohn <yongjin.ohn at lge.com> ---
(In reply to Jan Schmidt from comment #8)
> QtDemux is storing an array of actual QtDemuxSamples directly, so
> sizeof(QtDemuxSample) is correct there.
> 
> splitfilesrc is storing an array of pointers to GstFileParts - so sizeof
> (GstFilePart *)
> 
> If you're just testing with one file, you'll never exercise that code. It
> only runs when switching to a different file, so you need at least 2.

I misunderstood your instructions. I'll modify source code for your comment.
I have a question. I just use this command for split some avi file. is it
right?
"avisplit -s 3 -i filename" 3 means 3 megabyte.
This plays the first file fine and then stops:(
Also, splitfilesrc plays the first file and then stops without this patch.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list