[gstreamer-bugs] [Bug 315214] New: gstreamer flac encoder reports invalid data for sink query
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Sun Sep 4 01:33:28 PDT 2005
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
http://bugzilla.gnome.org/show_bug.cgi?id=315214
GStreamer | gst-plugins | Ver: 0.8.10
Summary: gstreamer flac encoder reports invalid data for sink
query
Product: GStreamer
Version: 0.8.10
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: High
Component: gst-plugins
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: abockover at novell.com
QAContact: gstreamer-bugs at lists.sourceforge.net
CC: all-bugs at bugzilla.gnome.org
Distribution/Version: SuSE 10 Beta 3
The GStreamer Flac Plugin returns same value for the total query as it does the
position query on a sink. The position query seems accurate, while the total
query is not (the two values are always the same).
GstFormat format = GST_FORMAT_BYTES;
gint64 position, total;
...
gst_element_query(sink, GST_QUERY_POSITION, &format, &position);
gst_element_query(sink, GST_QUERY_TOTAL, &format, &total);
The queries are performed inside a while(gst_bin_iterate(...)) loop, if it may
make any differnce. For reference, the source exhibiting the bug in Banshee is
here:
http://cvs.gnome.org/viewcvs/banshee/libbanshee/gst-encode.c?rev=1.3&view=markup
Other plugins (lame, xing, faac) return a proper total bytes.
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list